Commit b91ae9a5 by lanrion

added expired_at for init weixin_authorize client

parent e1e5da83
......@@ -19,6 +19,7 @@ require "weixin_authorize"
$client ||= WeixinAuthorize.configure do |config|
config.app_id = ENV["APPID"]
config.app_secret = ENV["APPSECRET"]
config.expired_at = Time.now.to_i
end
RSpec.configure do |config|
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment