Project

sendsms

0.0
Repository is archived
No commit activity in last 3 years
No release in over 3 years
The library Helps you to send SMS via way2sms in India
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

 Project Readme

[ 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