forgeplus/app/libs/wechat_oauth.rb

13 lines
194 B
Ruby
Raw Permalink Normal View History

2020-03-09 00:40:16 +08:00
module WechatOauth
class << self
attr_accessor :appid, :secret, :scope, :base_url
def logger
@_logger ||= STDOUT
end
def logger=(l)
@_logger = l
end
end
end