Method: EasyWeixin::Auth#initialize

Defined in:
lib/easy_weixin/auth.rb

#initialize(app_token, timestamp, nonce, signature, echostr) ⇒ Auth

Returns a new instance of Auth.



5
6
7
8
9
10
11
# File 'lib/easy_weixin/auth.rb', line 5

def initialize(app_token,timestamp,nonce,signature,echostr)
  @app_token = app_token
  @timestamp = timestamp
  @nonce = nonce
  @signature = signature
  @echostr = echostr
end