Outbox::Msg91

MSG91 SMS API wrapper for Outbox.
Installation
Add this line to your application's Gemfile:
gem 'outbox-msg91'
And then execute:
$ bundle
Or install it yourself as:
$ gem install outbox-msg91
Usage
Configure Outbox to use Outbox::Msg91 as the default SMS client:
Outbox::Messages::SMS.default_client(
:msg91,
authkey = "xxxxxxxxxxxxxxxxxxx"
)
SMS messages will now use the Msg91 Ap for devlivery:
sms = Outbox::Messages::SMS.new(
from: "ABCDEFG", <6 digit sender id>
body: 'Hello World',
)
sms.deliver('+15552224444')
Contributing
- Fork it ( https://github.com/nsox/outbox-msg1/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