Provides mass sms sending capability to your Ruby on Rails application. A batch sms sending job is splitted into single jobs for each recipient and pushed into a queue. The queue will be processed in background to not affect your applications response time. The final sms sending will be done via an third-party sms gateway
Processing the jobs in background is done with the help of http://mperham.github.com/sidekiq. Please check the requirements of Sidekiq if you want to use this gem.
Add this line to your application's Gemfile:
gem 'sms_queue'
And then execute:
$ bundle
Or install it yourself as:
$ gem install sms_queue
Now run the install generator
$ bundle exec rails g sms_queue:install
to copy the needed migrations to db/migrations
. After this you can migrate your database.
TODO: Write usage instructions here
All tests are written in RSpec, so if you checkout this gem from Github https://github.com/SalesLentz/sms_queue you can run the tests with
$ bundle exec rake
- 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