twilio-carrier
An sms_carrier delivery method for Twilio SMS service.
Installation
Add this line to your application's Gemfile:
gem 'twilio-carrier'
And then execute:
bundle
Or install it yourself as:
gem install twilio-carrier
Usage
Set up delivery method and Twilio settings in you rails config, eg. config/environments/production.rb
config.sms_carrier.delivery_method = :twilio
config.sms_carrier.twilio_settings = {
:account_sid => 'YOUR TWILIO ACCOUNT SID',
:auth_token => 'YOUR TWILIO AUTH TOKEN',
:from => 'YOUR TWILIO NUMBER'
}
License
The gem is available as open source under the terms of the MIT License.
Contact
The project's website is located at https://github.com/emn178/twilio-carrier
Author: emn178@gmail.com