Class: AliyunDysms::Configuration
- Inherits:
-
Object
- Object
- AliyunDysms::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.
-
#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.
10 11 12 13 14 15 16 |
# File 'lib/aliyun_dysms.rb', line 10 def initialize @access_key_id = "" @access_key_secret = "" @sign_name = "" @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.
6 7 8 |
# File 'lib/aliyun_dysms.rb', line 6 def access_key_id @access_key_id end |
#access_key_secret ⇒ Object
Returns the value of attribute access_key_secret.
6 7 8 |
# File 'lib/aliyun_dysms.rb', line 6 def access_key_secret @access_key_secret end |
#api_version ⇒ Object
Returns the value of attribute api_version.
6 7 8 |
# File 'lib/aliyun_dysms.rb', line 6 def api_version @api_version end |
#region_id ⇒ Object
Returns the value of attribute region_id.
6 7 8 |
# File 'lib/aliyun_dysms.rb', line 6 def region_id @region_id end |
#sign_name ⇒ Object
Returns the value of attribute sign_name.
6 7 8 |
# File 'lib/aliyun_dysms.rb', line 6 def sign_name @sign_name end |