Class: Aliyun::Vms::Configuration
- Inherits:
-
Object
- Object
- Aliyun::Vms::Configuration
- Defined in:
- lib/aliyun/vms.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.
-
#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.
16 17 18 19 20 21 22 23 24 25 |
# File 'lib/aliyun/vms.rb', line 16 def initialize @access_key_secret = '' @access_key_id = '' @action = 'SingleCallByTts' @format = 'XML' @region_id = 'cn-hangzhou' @signature_method = 'HMAC-SHA1' @signature_version = '1.0' @version = '2017-05-25' end |
Instance Attribute Details
#access_key_id ⇒ Object
Returns the value of attribute access_key_id.
13 14 15 |
# File 'lib/aliyun/vms.rb', line 13 def access_key_id @access_key_id end |
#access_key_secret ⇒ Object
Returns the value of attribute access_key_secret.
13 14 15 |
# File 'lib/aliyun/vms.rb', line 13 def access_key_secret @access_key_secret end |
#action ⇒ Object
Returns the value of attribute action.
13 14 15 |
# File 'lib/aliyun/vms.rb', line 13 def action @action end |
#format ⇒ Object
Returns the value of attribute format.
13 14 15 |
# File 'lib/aliyun/vms.rb', line 13 def format @format end |
#region_id ⇒ Object
Returns the value of attribute region_id.
13 14 15 |
# File 'lib/aliyun/vms.rb', line 13 def region_id @region_id end |
#signature_method ⇒ Object
Returns the value of attribute signature_method.
13 14 15 |
# File 'lib/aliyun/vms.rb', line 13 def signature_method @signature_method end |
#signature_version ⇒ Object
Returns the value of attribute signature_version.
13 14 15 |
# File 'lib/aliyun/vms.rb', line 13 def signature_version @signature_version end |
#version ⇒ Object
Returns the value of attribute version.
13 14 15 |
# File 'lib/aliyun/vms.rb', line 13 def version @version end |