Sha256: 1ffd68754202f61a1e17e8df98c5db83bc7a27bc4bdd0fcf547663b013cd3d8b
Contents?: true
Size: 1.57 KB
Versions: 4
Compression:
Stored size: 1.57 KB
Contents
smsified ======== SMSified is a simple API for sending and receiving text messages using regular phone numbers or short codes. SMSified uses a simple REST interface based on the GSMA OneAPI standard and is backed by Voxeo - the worlds largest communications cloud. Ruby lib for consuming the SMSified OneAPI. This is a Ruby gem for consuming the SMSified OneAPI. Installation ------------ gem install smsified Example ------- Send an SMS: require 'rubygems' require 'smsified' oneapi = Smsified::OneAPI.new(:username => 'user', :password => 'bug.fungus24') oneapi.send_sms :address => '14155551212', :message => 'Hi there!', :sender_address => '13035551212' Find a subscription: require 'rubygems' require 'smsified' subscriptions = Smsified::Subscriptions.new(:username => 'user', :password => 'bug.fungus24') subscriptions.inbound_subscriptions('17177455076') Parse the JSON for a callback Incoming Message: require 'rubygems' require 'smsified' # Also require your favorite web framework such as Rails or Sinatra incoming_message = Smsified::IncomingMessage.new json_body puts incoming_message.date_time # Wed May 11 18:05:54 UTC 2011 puts incoming_message.destination_address # '16575550100' puts incoming_message.message # 'Inbound test' puts incoming_message.message_id # 'ef795d3dac56a62fef3ff1852b0c123a' puts incoming_message.sender_address # '14075550100' Documentation ------------- May be found at http://smsified.github.com/smsified-ruby & http://smsified.com. License ------- MIT - See LICENSE.txt
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
smsified-0.1.8 | README.md |
smsified-0.1.7 | README.md |
smsified-0.1.6 | README.md |
smsified-0.1.5 | README.md |