Class: AliyunSms::Configuration
- Inherits:
-
Object
- Object
- AliyunSms::Configuration
- Defined in:
- lib/aliyun_sms.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.
-
#format ⇒ Object
Returns the value of attribute format.
-
#region_id ⇒ Object
Returns the value of attribute region_id.
-
#signature_method ⇒ Object
Returns the value of attribute signature_method.
-
#signature_version ⇒ Object
Returns the value of attribute signature_version.
-
#version ⇒ Object
Returns the value of attribute version.
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 20 |
# File 'lib/aliyun_sms.rb', line 12 def initialize @access_key_id = '' @access_key_secret = '' @region_id = "" @format = "JSON" @signature_method = "HMAC-SHA1" @signature_version = "1.0" @version = '2016-09-27' end |
Instance Attribute Details
#access_key_id ⇒ Object
Returns the value of attribute access_key_id.
10 11 12 |
# File 'lib/aliyun_sms.rb', line 10 def access_key_id @access_key_id end |
#access_key_secret ⇒ Object
Returns the value of attribute access_key_secret.
10 11 12 |
# File 'lib/aliyun_sms.rb', line 10 def access_key_secret @access_key_secret end |
#format ⇒ Object
Returns the value of attribute format.
10 11 12 |
# File 'lib/aliyun_sms.rb', line 10 def format @format end |
#region_id ⇒ Object
Returns the value of attribute region_id.
10 11 12 |
# File 'lib/aliyun_sms.rb', line 10 def region_id @region_id end |
#signature_method ⇒ Object
Returns the value of attribute signature_method.
10 11 12 |
# File 'lib/aliyun_sms.rb', line 10 def signature_method @signature_method end |
#signature_version ⇒ Object
Returns the value of attribute signature_version.
10 11 12 |
# File 'lib/aliyun_sms.rb', line 10 def signature_version @signature_version end |
#version ⇒ Object
Returns the value of attribute version.
10 11 12 |
# File 'lib/aliyun_sms.rb', line 10 def version @version end |