yunpian-carrier

Build Status Coverage Status

An sms_carrier delivery method for Yunpian(云片) SMS service.

Installation

Add this line to your application's Gemfile:

gem 'yunpian-carrier'

And then execute:

bundle

Or install it yourself as:

gem install yunpian-carrier

Usage

Set up delivery method and Yunpian settings in you rails config, eg. config/environments/production.rb

config.sms_carrier.delivery_method = :yunpian
config.sms_carrier.yunpian_settings = {
  :apikey => 'YOUR YUNPIAN APIKEY',

  # prepend to SMS body, you can also leave it empty and add manually.
  :signature => 'YOUR YUNPIAN SIGNATURE'
}

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/yunpian-carrier
Author: [email protected]