Class: AliyunSms::Configuration

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

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_idObject

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_secretObject

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

#formatObject

Returns the value of attribute format.



10
11
12
# File 'lib/aliyun_sms.rb', line 10

def format
  @format
end

#region_idObject

Returns the value of attribute region_id.



10
11
12
# File 'lib/aliyun_sms.rb', line 10

def region_id
  @region_id
end

#signature_methodObject

Returns the value of attribute signature_method.



10
11
12
# File 'lib/aliyun_sms.rb', line 10

def signature_method
  @signature_method
end

#signature_versionObject

Returns the value of attribute signature_version.



10
11
12
# File 'lib/aliyun_sms.rb', line 10

def signature_version
  @signature_version
end

#versionObject

Returns the value of attribute version.



10
11
12
# File 'lib/aliyun_sms.rb', line 10

def version
  @version
end