Send SMS in ruby via way2sms
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
doc
lib
spec
.gitignore
.rspec
.rvmrc
.travis.yml
.yardopts
Gemfile
Gemfile.lock
Guardfile
LICENSE
README.md
README.md.sample
Rakefile
changelog
sendsms.gemspec

README.md

[ Deprecated ]

This project is deprecated. Way2sms has changed its UI after this and this project won't work anymore.

Sendsms Gem Build Status Dependency Status Code Climate

Sendsms gem helps you to send SMS via way2sms from ruby.

yard Documentation

Usage

Individual SMS

require "sendsms"
w2s = SendSms.new "username","password"
w2s.send "9995436867", "sending via sendsms gem!!!"

Group SMS

Msisdns as array

require "sendsms"
w2s = SendSms.new "username","password"
msisdn = ["9995436867","9037864203","9037107542"]
w2s.send msisdns, "sending via sendsms gem!!!"

Msisdns as Hash

require "sendsms"
w2s = SendSms.new "username","password"
msisdn = { 0 => "9995436867", 1 => "9037864203" , 2 => "9037107542"}
w2s.send msisdns, "sending via sendsms gem!!!"

Msisdns as semicolon seperated values

require "sendsms"
w2s = SendSms.new "username","password"
msisdn = "9995436867;9037864203;9037107542"
w2s.send msisdns, "sending via sendsms gem!!!"

License

Please see licence