Class: AliyunDypns::Configuration

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

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_idObject

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_secretObject

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_versionObject

Returns the value of attribute api_version.



11
12
13
# File 'lib/aliyun_dypns.rb', line 11

def api_version
  @api_version
end

#region_idObject

Returns the value of attribute region_id.



11
12
13
# File 'lib/aliyun_dypns.rb', line 11

def region_id
  @region_id
end

#sign_nameObject

Returns the value of attribute sign_name.



11
12
13
# File 'lib/aliyun_dypns.rb', line 11

def sign_name
  @sign_name
end