module WechatGate::Controller

Public Class Methods

included(base) click to toggle source
# 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