0.0
No commit activity in last 3 years
No release in over 3 years
An sms_carrier delivery method for Yunpian(云片) SMS service.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.10
~> 10.0
>= 0

Runtime

>= 0.1.1
 Project Readme

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: emn178@gmail.com