Smster (Rails)¶ ↑
<img src=“https://codeclimate.com/github/IlyaDonskikh/smster/badges/gpa.svg” />
SMS sending service through different providers with maximum convenience (powered by smster_ruby).
Supported¶ ↑
Setup¶ ↑
Add gem:
gem 'smster'
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 donivrecord@gmail.com.
Thanks¶ ↑
-
Mickhail Zelenin for the idea for this gem.
-
Egor Kiselev for help in creation of this manual.
-
Alexey Bandar for the recommendation of the first provider.