Skip to content

Provides mass sms sending capability to your application. Uses a queue to process the sending via an third-party sms gateway.

License

Notifications You must be signed in to change notification settings

SalesLentz/sms_queue

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SmsQueue

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.

Installation

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.

Usage

TODO: Write usage instructions here

Testing

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

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

About

Provides mass sms sending capability to your application. Uses a queue to process the sending via an third-party sms gateway.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages