Class: Aliyun::Dysms::Configuration

Inherits:
Object
  • Object
show all
Defined in:
lib/aliyun/dysms.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

Returns a new instance of Configuration.



12
13
14
15
16
17
18
19
# File 'lib/aliyun/dysms.rb', line 12

def initialize
  @access_key_id     = ""
  @access_key_secret = ""
  @sign_name         = ""
  @action            = "SendSms"
  @region_id         = "cn-hangzhou"
  @api_version       = "2017-05-25"
end

Instance Attribute Details

#access_key_idObject

Returns the value of attribute access_key_id.



9
10
11
# File 'lib/aliyun/dysms.rb', line 9

def access_key_id
  @access_key_id
end

#access_key_secretObject

Returns the value of attribute access_key_secret.



9
10
11
# File 'lib/aliyun/dysms.rb', line 9

def access_key_secret
  @access_key_secret
end

#actionObject

Returns the value of attribute action.



9
10
11
# File 'lib/aliyun/dysms.rb', line 9

def action
  @action
end

#api_versionObject

Returns the value of attribute api_version.



9
10
11
# File 'lib/aliyun/dysms.rb', line 9

def api_version
  @api_version
end

#region_idObject

Returns the value of attribute region_id.



9
10
11
# File 'lib/aliyun/dysms.rb', line 9

def region_id
  @region_id
end

#sign_nameObject

Returns the value of attribute sign_name.



9
10
11
# File 'lib/aliyun/dysms.rb', line 9

def sign_name
  @sign_name
end