Project

voodoo_sms

0.0
No commit activity in last 3 years
No release in over 3 years
Ruby wrapper for VoodooSMS API
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 3.1
~> 2.9
~> 1.19

Runtime

~> 0.13
 Project Readme

Supports Voodoo's API v2.1

gem install voodoo_sms

Example usage

client = VoodooSMS.new('username', 'password')
# => #<VoodooSMS:0x007f96dc947170 @params={:query=>{:uid=>"username", :pass=>"password"}}>

client.get_credit
# => "15.0000"

client.send_sms('SenderID', '440000000000', 'Message')
# => "5143598"

client.get_delivery_status('5143598')
# => "Delivered"

messages = client.get_sms(Date.new(2014,10,17), Date.new(2014,10,17))
# => [#<OpenStruct from="447000000006", timestamp=#<DateTime: 2014-10-17T15:32:58+00:00>, message="Inbound message body">]