SteamFi
steam.fi SMS gateway client
Installation
Add this line to your application's Gemfile:
gem 'steam_fi'
And then execute:
$ bundle
Or install it yourself as:
$ gem install steam_fi
Usage
Add configuration to the initializer: config/initializers/steam_fi.rb
SteamFi::API.setup(
:username => 'someuser',
:password => 'somepassword'
)
Send SMS:
SteamFi::API.send_sms('1234PHONE', 'Hello world')
Set logger:
SteamFi::API.logger = MyLogger.new
Contributing
- Fork it ( https://github.com/[my-github-username]/steam_fi/fork )
- 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 a new Pull Request