Short description and motivation.
How to use my plugin.
Add this line to your application's Gemfile:
gem "qweixin"
And then execute:
$ bundle
Or install it yourself as:
$ gem install qweixin
Add config/initializers/qweixin.rb
Rails.application.config.qweixin.secret = "balabala_secret"
Qweixin::Client.configure do |config|
config.appid = ENV["WEIXIN_APPID"] # 小程序唯一凭证,即 AppID
config.secret = ENV["WEIXIN_APPSECRET"] # 小程序唯一凭证密钥,即 AppSecret,获取方式同 appid
end
Contribution directions go here.
The gem is available as open source under the terms of the MIT License.