Method: Aliyun::Sms::PhoneCode#initialize

Defined in:
lib/aliyun/sms/phone_code.rb

#initializePhoneCode

Returns a new instance of PhoneCode.



21
22
23
24
25
26
27
28
29
30
31
# File 'lib/aliyun/sms/phone_code.rb', line 21

def initialize
  @access_key_secret = ''
     @access_key_id = ''
     @sign_name = ''
     @action ||= 'SingleSendSms'
     @format ||= 'JSON' 
     @region_id ||= 'cn-hangzhou' 
     @signature_method ||= 'HMAC-SHA1'
     @signature_version ||= '1.0'
     @sms_version ||= '2016-09-27' 
end