Skip to content

unboxed/voodoo-sms-ruby

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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">]

About

Ruby gem for VoodooSMS API

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages