Module: XiWechatCorp

Defined in:
lib/xi_wechat_corp.rb,
lib/xi_wechat_corp/api.rb,
lib/xi_wechat_corp/error.rb,
lib/xi_wechat_corp/api/cli.rb,
lib/xi_wechat_corp/version.rb,
lib/xi_wechat_corp/callback.rb,
lib/xi_wechat_corp/aes_crypt.rb,
lib/xi_wechat_corp/sha1_signer.rb,
lib/xi_wechat_corp/callback/rack.rb,
lib/xi_wechat_corp/pkcs7_encoder.rb,
lib/xi_wechat_corp/api/connection.rb,
lib/xi_wechat_corp/callback/grape.rb,
lib/xi_wechat_corp/callback/config.rb,
lib/xi_wechat_corp/api/access_token.rb,
lib/xi_wechat_corp/callback/request.rb,
lib/xi_wechat_corp/callback/response.rb

Defined Under Namespace

Modules: API, Callback Classes: AesCrypt, DecodeError, Error, InvalidCorpIDError, PKCS7DecodeError, PKCS7Encoder, SHA1Signer, SignatureVerificationError

Constant Summary collapse

VERSION =
'1.2.2'

Class Attribute Summary collapse

Class Attribute Details

.cacheObject

value = cache.read(key) cache.write(key, value)



14
15
16
# File 'lib/xi_wechat_corp.rb', line 14

def cache
  @cache
end

.loggerObject

logger must support method ‘error(string)`



11
12
13
# File 'lib/xi_wechat_corp.rb', line 11

def logger
  @logger
end