class WechatPublicApi
获得微信公众号的 access_token (Get wechat public access_token) Created by zhangmingxin Date: 2018-05-17 Wechat number: zmx119966
微信公众号帐号管理 (带参二维码获得) Created by zhangmingxin Date: 2018-05-18 Wechat number: zmx119966
消息加密解密 Created by zhangmingxin Date: 2018-05-18 Wechat number: zmx119966
客服消息管理 (about kf_account message) Created by zhangmingxin Date: 2018-05-17 Wechat number: zmx119966
微信公众号素材管理 Created by zhangmingxin Date: 2018-05-18 Wechat number: zmx119966
公众号自定义菜单栏模块 (about wechat public menu) Created by zhangmingxin Date: 2018-05-17 Wechat number: zmx119966
微信公众号模板消息相关接口 (About templet message of wechat public) Created by zhangmingxin Date: 2018-05-17 Wechat number: zmx119966
公众号用户管理 Created by zhangmingxin Date: 2018-05-18 Wechat number: zmx119966
基于微信公众号的小工具,公用 Created by zhangmingxin Date: 2018-05-18 Wechat number: zmx119966
Constants
- VERSION
Attributes
默认不缓存 access_token, access_token_cache
= True 缓存 @param <hash> aoptions
> example¶ ↑
wechat_api = WechatPublicApi.new
appid: 'xx', app_secret
: 'xx', access_token_cache
: true wechat_api.app_id – get appid
api.get_access_token
默认不缓存 access_token, access_token_cache
= True 缓存 @param <hash> aoptions
> example¶ ↑
wechat_api = WechatPublicApi.new
appid: 'xx', app_secret
: 'xx', access_token_cache
: true wechat_api.app_id – get appid
api.get_access_token
默认不缓存 access_token, access_token_cache
= True 缓存 @param <hash> aoptions
> example¶ ↑
wechat_api = WechatPublicApi.new
appid: 'xx', app_secret
: 'xx', access_token_cache
: true wechat_api.app_id – get appid
api.get_access_token
Public Class Methods
# File lib/wechat_public_api.rb, line 33 def initialize(options={}) @app_id = options[:app_id] @app_secret = options[:app_secret] @access_token_cache = options[:access_token_cache] end