Class: Aliyun::Dysms::Configuration
- Inherits:
-
Object
- Object
- Aliyun::Dysms::Configuration
- Defined in:
- lib/aliyun/dysms.rb
Instance Attribute Summary collapse
-
#access_key_id ⇒ Object
Returns the value of attribute access_key_id.
-
#access_key_secret ⇒ Object
Returns the value of attribute access_key_secret.
-
#action ⇒ Object
Returns the value of attribute action.
-
#api_version ⇒ Object
Returns the value of attribute api_version.
-
#region_id ⇒ Object
Returns the value of attribute region_id.
-
#sign_name ⇒ Object
Returns the value of attribute sign_name.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
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_id ⇒ Object
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_secret ⇒ Object
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 |
#action ⇒ Object
Returns the value of attribute action.
9 10 11 |
# File 'lib/aliyun/dysms.rb', line 9 def action @action end |
#api_version ⇒ Object
Returns the value of attribute api_version.
9 10 11 |
# File 'lib/aliyun/dysms.rb', line 9 def api_version @api_version end |
#region_id ⇒ Object
Returns the value of attribute region_id.
9 10 11 |
# File 'lib/aliyun/dysms.rb', line 9 def region_id @region_id end |
#sign_name ⇒ Object
Returns the value of attribute sign_name.
9 10 11 |
# File 'lib/aliyun/dysms.rb', line 9 def sign_name @sign_name end |