class YuntongxunSdk::Configuration

Global configuration for YuntongxunSdk.

Constants

DEFAULT_SERVERS

Default server information for Yuntongxun. These can be overridden by setting config values. See YuntongxunSdk.config.

Attributes

account_sid[RW]

The default Account ID and token to be used

app_id[RW]

The default App ID

auth_token[RW]

The default Account ID and token to be used

gateway[RW]

The gateway to use for API requests

Public Class Methods

new() click to toggle source
# File lib/yuntongxun_sdk/configuration.rb, line 18
def initialize
  # Default to our default values.
  DEFAULT_SERVERS.each_pair do |key, value|
    self.public_send("#{key}=", value)
  end
end