This project is deprecated. Way2sms has changed its UI after this and this project won't work anymore.
Sendsms gem helps you to send SMS via way2sms from ruby.
require "sendsms"
w2s = SendSms.new "username","password"
w2s.send "9995436867", "sending via sendsms gem!!!"
require "sendsms"
w2s = SendSms.new "username","password"
msisdn = ["9995436867","9037864203","9037107542"]
w2s.send msisdns, "sending via sendsms gem!!!"
require "sendsms"
w2s = SendSms.new "username","password"
msisdn = { 0 => "9995436867", 1 => "9037864203" , 2 => "9037107542"}
w2s.send msisdns, "sending via sendsms gem!!!"
require "sendsms"
w2s = SendSms.new "username","password"
msisdn = "9995436867;9037864203;9037107542"
w2s.send msisdns, "sending via sendsms gem!!!"
Please see licence