Build Status

Wechat::AccessToken

微信公众号 access_token获取

Usage

After Installation, genearte wechat.yml and redis.yml and config them

rails generate wechat_install_config

then you can get access_token by

Wechat::AccessToken.current

Installation

Add this line to your application's Gemfile:

gem 'wechat-access_token'

And then execute:

$ bundle

Or install it yourself as:

$ gem install wechat-access_token

Contributing

Contribution directions go here.

License

The gem is available as open source under the terms of the MIT License.