Class: YunTongXun::Config

Inherits:
Object
  • Object
show all
Defined in:
lib/yun_tong_xun/config.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfig

Returns a new instance of Config.



17
18
19
20
21
# File 'lib/yun_tong_xun/config.rb', line 17

def initialize
  @soft_version = '2013-12-26'
  @rest_client_options = { timeout: 10, open_timeout: 10, verify_ssl: true }
  @env = :production
end

Instance Attribute Details

#envObject

Returns the value of attribute env.



14
15
16
# File 'lib/yun_tong_xun/config.rb', line 14

def env
  @env
end

#main_account_sidObject

Returns the value of attribute main_account_sid.



15
16
17
# File 'lib/yun_tong_xun/config.rb', line 15

def 
  @main_account_sid
end

#main_account_tokenObject

Returns the value of attribute main_account_token.



15
16
17
# File 'lib/yun_tong_xun/config.rb', line 15

def 
  @main_account_token
end

#rest_client_optionsObject

Returns the value of attribute rest_client_options.



14
15
16
# File 'lib/yun_tong_xun/config.rb', line 14

def rest_client_options
  @rest_client_options
end

#soft_versionObject

Returns the value of attribute soft_version.



14
15
16
# File 'lib/yun_tong_xun/config.rb', line 14

def soft_version
  @soft_version
end

#sub_account_sidObject

Returns the value of attribute sub_account_sid.



16
17
18
# File 'lib/yun_tong_xun/config.rb', line 16

def 
  @sub_account_sid
end

#sub_account_tokenObject

Returns the value of attribute sub_account_token.



16
17
18
# File 'lib/yun_tong_xun/config.rb', line 16

def 
  @sub_account_token
end