Sha256: b2f2dc161a23cfdc822a3b93813900b82f04349a36c9d9ab48bd6029ada717fd
Contents?: true
Size: 339 Bytes
Versions: 1
Compression:
Stored size: 339 Bytes
Contents
module Ucpaas # sms client api module Sms def send_sms(app_id, tmp_id, mobile, *params) data = { templateSMS: { appId: app_id, templateId: tmp_id, to: mobile, param: params.map(&:to_s).join(',') } } post '/Messages/templateSMS.json', data end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
ucpaas-0.1.2 | lib/ucpaas/sms.rb |