Module: ActionController::WechatResponder
Instance Method Summary collapse
Instance Method Details
#wechat ⇒ Object
13 14 15 |
# File 'lib/action_controller/wechat_responder.rb', line 13 def wechat self.wechat_api_client ||= load_controller_wechat end |
#wechat_api(opts = {}) ⇒ Object
3 4 5 6 |
# File 'lib/action_controller/wechat_responder.rb', line 3 def wechat_api(opts = {}) include Wechat::ControllerApi self.wechat_api_client = load_controller_wechat(opts) end |
#wechat_responder(opts = {}) ⇒ Object
8 9 10 11 |
# File 'lib/action_controller/wechat_responder.rb', line 8 def wechat_responder(opts = {}) include Wechat::Responder self.wechat_api_client = load_controller_wechat(opts) end |