class ActFunc::Sms

Constants

URL

Public Class Methods

send(uid, pwd, mobile, content) click to toggle source
# File lib/act_func/sms.rb, line 7
def Sms.send(uid, pwd, mobile, content)
  response = Func.post(URL, {'ac' => "send", 'uid' => uid, 'pwd' => pwd, 'mobile' => mobile, 'content' => content})
  return response.body=="100"
end