Smster

SMS sending service through different providers with maximum convenience.

Supported

Setup

Add gem:

gem 'smster', git: '[email protected]:IlyaDonskikh/smster.git'

Install:

rails g smster:install
rake db:migrate

Sending message

Add config of your provider into config/initializers/smster.rb.

And let’s start!

Sms::$Provider.create(text: 'sms text', to: phone_number) # Replace "$Provider" to "Nexmo", "Clickatell", etc..

Callbacks

Add to routes, setup provider callbacks and get sms statuses:

post 'smster/$provider_name/callback'

Feedback

Please use the issue tracker or send mail to [email protected].

Thanks

  1. Mickhail Zelenin for the idea for this gem.

  2. Egor Kiselev for help in creation of this manual.

  3. Alexey Bandar for the recommendation of the first provider.