Class: Aliyun::Vms::Configuration

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

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_idObject

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_secretObject

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

#actionObject

Returns the value of attribute action.



13
14
15
# File 'lib/aliyun/vms.rb', line 13

def action
  @action
end

#formatObject

Returns the value of attribute format.



13
14
15
# File 'lib/aliyun/vms.rb', line 13

def format
  @format
end

#region_idObject

Returns the value of attribute region_id.



13
14
15
# File 'lib/aliyun/vms.rb', line 13

def region_id
  @region_id
end

#signature_methodObject

Returns the value of attribute signature_method.



13
14
15
# File 'lib/aliyun/vms.rb', line 13

def signature_method
  @signature_method
end

#signature_versionObject

Returns the value of attribute signature_version.



13
14
15
# File 'lib/aliyun/vms.rb', line 13

def signature_version
  @signature_version
end

#versionObject

Returns the value of attribute version.



13
14
15
# File 'lib/aliyun/vms.rb', line 13

def version
  @version
end