module SMSBao
Constants
- BASE_GATEWAY
- VERSION
Attributes
md5_password[RW]
signature[RW]
timeout[RW]
username[RW]
Public Class Methods
quota()
click to toggle source
# File lib/sms_bao.rb, line 19 def self.quota response = Request.new('query').perform! response.split(',').last.to_i end
send_to!(recipients, content)
click to toggle source
# File lib/sms_bao.rb, line 15 def self.send_to!(recipients, content) Request.new('sms', recipients, content).perform! end