Module: AliDayu
- Defined in:
- lib/ali_dayu.rb,
lib/ali_dayu/version.rb
Defined Under Namespace
Constant Summary collapse
- VERSION =
"0.1.0"
Class Attribute Summary collapse
-
.app_key ⇒ Object
Returns the value of attribute app_key.
-
.app_secret ⇒ Object
Returns the value of attribute app_secret.
-
.post_url ⇒ Object
Returns the value of attribute post_url.
Class Method Summary collapse
- .sms_send(telphones, sms_param, sms_template_code, sms_free_sign_name, extend = "", options = {}) ⇒ Object
- .voice_send(telphones, sms_param, tts_code, called_show_num, extend = "", options = {}) ⇒ Object
Class Attribute Details
.app_key ⇒ Object
Returns the value of attribute app_key.
12 13 14 |
# File 'lib/ali_dayu.rb', line 12 def app_key @app_key end |
.app_secret ⇒ Object
Returns the value of attribute app_secret.
12 13 14 |
# File 'lib/ali_dayu.rb', line 12 def app_secret @app_secret end |
.post_url ⇒ Object
Returns the value of attribute post_url.
12 13 14 |
# File 'lib/ali_dayu.rb', line 12 def post_url @post_url end |
Class Method Details
.sms_send(telphones, sms_param, sms_template_code, sms_free_sign_name, extend = "", options = {}) ⇒ Object
14 15 16 |
# File 'lib/ali_dayu.rb', line 14 def sms_send telphones, sms_param, sms_template_code, sms_free_sign_name, extend="", ={} Sms.new().deliver(telphones, sms_param, sms_template_code, sms_free_sign_name, extend) end |