Wechat::Adapter
A wrapper for Tencent Wechat JSON API, currently only "menu" operation are tested, others should work also.
Installation
Add this line to your application's Gemfile:
gem 'wechat-adapter'
And then execute:
$ bundle
Or install it yourself as:
$ gem install wechat-adapter
Usage
require 'wechat/adapter'
appid = "wxb3fae34df644fbf7"
appsecret = "d0aae6a89949c8c789068397f9e1c59c"
api = WechatAPI.new(appid, appsecret)
api.get 'menu/get'