Skip to content
This repository has been archived by the owner on Jan 30, 2024. It is now read-only.

Latest commit

 

History

History
46 lines (30 loc) · 1.53 KB

README.md

File metadata and controls

46 lines (30 loc) · 1.53 KB

[ 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