Class: AliyunDypns::Configuration
- Inherits:
-
Object
- Object
- AliyunDypns::Configuration
- Defined in:
- lib/aliyun_dypns.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.
15 16 17 18 19 20 21 |
# File 'lib/aliyun_dypns.rb', line 15 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.
11 12 13 |
# File 'lib/aliyun_dypns.rb', line 11 def access_key_id @access_key_id end |
#access_key_secret ⇒ Object
Returns the value of attribute access_key_secret.
11 12 13 |
# File 'lib/aliyun_dypns.rb', line 11 def access_key_secret @access_key_secret end |
#api_version ⇒ Object
Returns the value of attribute api_version.
11 12 13 |
# File 'lib/aliyun_dypns.rb', line 11 def api_version @api_version end |
#region_id ⇒ Object
Returns the value of attribute region_id.
11 12 13 |
# File 'lib/aliyun_dypns.rb', line 11 def region_id @region_id end |
#sign_name ⇒ Object
Returns the value of attribute sign_name.
11 12 13 |
# File 'lib/aliyun_dypns.rb', line 11 def sign_name @sign_name end |