module WechatClient

Constants

VERSION

Attributes

client[R]
logger[R]
options[R]

Public Class Methods

cache() click to toggle source
# File lib/wechat_client.rb, line 34
def self.cache
  if @cache_client && client.options.auto_cache
    klass = "WechatClient::CacheStore::" + @cache_client.class.name + "Store"
    @_cache_ ||= const_get(klass).new(@cache_client)
  end
end