Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
rainbow-submarine-test-3356
Advanced tools
RainbowSubmarineTest3356 - the Ruby gem for the Smooch
No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
This SDK is automatically generated by the Swagger Codegen project:
To build the Ruby code into a gem:
gem build rainbow-submarine-test-3356.gemspec
Then either install the gem locally:
gem install ./rainbow-submarine-test-3356-1.2.2.gem
(for development, run gem install --dev ./rainbow-submarine-test-3356-1.2.2.gem
to install the development dependencies)
or publish the gem to a gem hosting service, e.g. RubyGems.
Finally add this to the Gemfile:
gem 'rainbow-submarine-test-3356', '~> 1.2.2'
If the Ruby gem is hosted at a git repository: https://github.com/GIT_USER_ID/GIT_REPO_ID, then add the following in the Gemfile:
gem 'rainbow-submarine-test-3356', :git => 'https://github.com/GIT_USER_ID/GIT_REPO_ID.git'
Include the Ruby code directly using -I
as follows:
ruby -Ilib script.rb
Please follow the installation procedure and then run the following code:
# Load the gem
require 'rainbow-submarine-test-3356'
# Setup authorization
RainbowSubmarineTest3356.configure do |config|
# Configure API key authorization: appToken
config.api_key['app-token'] = 'YOUR API KEY'
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
#config.api_key_prefix['app-token'] = 'Bearer'
# Configure API key authorization: jwt
config.api_key['Authorization'] = 'YOUR API KEY'
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
#config.api_key_prefix['Authorization'] = 'Bearer'
end
api_instance = RainbowSubmarineTest3356::AppUserApi.new
user_id = "user_id_example" # String | Identifies the user. Can be either the smoochId or the userId.
device_id = "device_id_example" # String | Id of the device.
app_user_device_update = RainbowSubmarineTest3356::DeviceUpdate.new # DeviceUpdate | Supported properties for an updateAppUserDevice request.
begin
result = api_instance.app_user_device_update(user_id, device_id, app_user_device_update)
p result
rescue RainbowSubmarineTest3356::ApiError => e
puts "Exception when calling AppUserApi->app_user_device_update: #{e}"
end
All URIs are relative to https://api.smooch.io/v1
Class | Method | HTTP request | Description |
---|---|---|---|
RainbowSubmarineTest3356::AppUserApi | app_user_device_update | PUT /appusers/{userId}/devices/{deviceId} | |
RainbowSubmarineTest3356::AppUserApi | delete_app_user_profile | DELETE /appusers/{userId}/profile | |
RainbowSubmarineTest3356::AppUserApi | get_app_user | GET /appusers/{userId} | |
RainbowSubmarineTest3356::AppUserApi | get_app_user_entity_ids | GET /appusers/{userId}/channels | |
RainbowSubmarineTest3356::AppUserApi | link_app_user | POST /appusers/{userId}/channels | |
RainbowSubmarineTest3356::AppUserApi | post_image_message | POST /appusers/{userId}/images | |
RainbowSubmarineTest3356::AppUserApi | pre_create_app_user | POST /appusers | |
RainbowSubmarineTest3356::AppUserApi | track_event | POST /appusers/{userId}/events | |
RainbowSubmarineTest3356::AppUserApi | unlink_app_user | DELETE /appusers/{userId}/channels/{channel} | |
RainbowSubmarineTest3356::AppUserApi | update_app_user | PUT /appusers/{userId} | |
RainbowSubmarineTest3356::ConversationApi | get_messages | GET /appusers/{userId}/messages | |
RainbowSubmarineTest3356::ConversationApi | reset_unread_count | POST /appusers/{userId}/conversation/read | |
RainbowSubmarineTest3356::ConversationApi | trigger_typing_activity | POST /appusers/{userId}/conversation/activity | |
RainbowSubmarineTest3356::MenuApi | delete_menu | DELETE /menu | |
RainbowSubmarineTest3356::MenuApi | get_menu | GET /menu | |
RainbowSubmarineTest3356::MenuApi | update_menu | PUT /menu |
FAQs
Unknown package
We found that rainbow-submarine-test-3356 demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.