Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

rainbow-submarine-test-3356

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rainbow-submarine-test-3356

  • 1.2.2
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

rainbow-submarine-test-3356

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:

  • API version: 1.0.0
  • Package version: 1.2.2
  • Build package: io.swagger.codegen.languages.RubyClientCodegen

Installation

Build a gem

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'

Install from Git

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

Include the Ruby code directly using -I as follows:

ruby -Ilib script.rb

Getting Started

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

Documentation for API Endpoints

All URIs are relative to https://api.smooch.io/v1

ClassMethodHTTP requestDescription
RainbowSubmarineTest3356::AppUserApiapp_user_device_updatePUT /appusers/{userId}/devices/{deviceId}
RainbowSubmarineTest3356::AppUserApidelete_app_user_profileDELETE /appusers/{userId}/profile
RainbowSubmarineTest3356::AppUserApiget_app_userGET /appusers/{userId}
RainbowSubmarineTest3356::AppUserApiget_app_user_entity_idsGET /appusers/{userId}/channels
RainbowSubmarineTest3356::AppUserApilink_app_userPOST /appusers/{userId}/channels
RainbowSubmarineTest3356::AppUserApipost_image_messagePOST /appusers/{userId}/images
RainbowSubmarineTest3356::AppUserApipre_create_app_userPOST /appusers
RainbowSubmarineTest3356::AppUserApitrack_eventPOST /appusers/{userId}/events
RainbowSubmarineTest3356::AppUserApiunlink_app_userDELETE /appusers/{userId}/channels/{channel}
RainbowSubmarineTest3356::AppUserApiupdate_app_userPUT /appusers/{userId}
RainbowSubmarineTest3356::ConversationApiget_messagesGET /appusers/{userId}/messages
RainbowSubmarineTest3356::ConversationApireset_unread_countPOST /appusers/{userId}/conversation/read
RainbowSubmarineTest3356::ConversationApitrigger_typing_activityPOST /appusers/{userId}/conversation/activity
RainbowSubmarineTest3356::MenuApidelete_menuDELETE /menu
RainbowSubmarineTest3356::MenuApiget_menuGET /menu
RainbowSubmarineTest3356::MenuApiupdate_menuPUT /menu

Documentation for Models

Documentation for Authorization

appToken

  • Type: API key
  • API key parameter name: app-token
  • Location: HTTP header

jwt

  • Type: API key
  • API key parameter name: Authorization
  • Location: HTTP header

FAQs

Package last updated on 14 Mar 2017

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc