DsjSms

TODO: DSJ SMS based on santong

Installation

Add this line to your application’s Gemfile:

gem ‘dsj_sms’

And then execute:

$ bundle

Or install it yourself as:

$ gem install dsj_sms

Usage

require ‘dsj_sms’
DsjSms.username ‘username’
DsjSms.password ‘password’
DsjSms.url ‘http://3tong.net/http/sms/Submit’
DsjSms.sendSMS(“18916209156”,’i am ok’,’RESTAURANT WEEK’)