Non-official MobileMessenger ruby gem.
Add this line to your application's Gemfile to install via rubygems.org
gem 'mobile_messenger'
And then execute:
$ bundle
Or install it yourself as:
$ gem install mobile_messenger
require 'rubygems' # not necessary with ruby 1.9 but included for completeness
require 'mobile_messenger'
# put your own credentials here
username = 'ACxxxxxxxxxxxxxxxxxxxxxxxxxxxxx'
password = 'yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy'
# set up a client to talk to the API
@client = MobileMessenger::Client.new(username, password)
# Send an SMS
@client.send_sms("12345", "5008885555", "Message goes here")
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request