Module: WechatGate::Controller
- Defined in:
- lib/wechat_gate/controller.rb
Defined Under Namespace
Modules: InstanceMethods
Class Method Summary collapse
Class Method Details
.included(base) ⇒ Object
6 7 8 9 10 11 12 13 14 15 |
# File 'lib/wechat_gate/controller.rb', line 6 def self.included base base.send :include, InstanceMethods base.class_eval do helper_method :is_wechat_logged_in? helper_method :current_open_id class_attribute :wechat_gate_app_name end end |