davgit / smsglobal

SMSGlobal Ruby Bindings

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

smsglobal

Ruby gem to send SMS messages via SMSGlobal.

This was written by the cool people at GetUp Australia (getup.org.au/), who’ve decided to share this code with the community.

To use:

require 'smsglobal'
sender = SmsGlobal::Sender.new :user => 'CHANGEME', :password => 'CHANGEME'

sender.send_text 'Test text message', '0404565555', '0401235555'

where 0404565555 is the recipient address, and 0401235555 is the sender.

Enjoy!

Note on Patches/Pull Requests

  • Fork the project.

  • Make your feature addition or bug fix.

  • Add tests for it. This is important so I don’t break it in a future version unintentionally.

  • Commit, do not mess with rakefile, version, or history. (if you want to have your own version, that is fine but bump version in a commit by itself I can ignore when I pull)

  • Send me a pull request. Bonus points for topic branches.

Copyright © 2010 GetUp Australia and Alex Cooper. See LICENSE for details.

About

SMSGlobal Ruby Bindings

License:MIT License