Module: WxExt

Defined in:
lib/wx_ext.rb,
lib/wx_ext/api/js.rb,
lib/wx_ext/helper.rb,
lib/wx_ext/api/msg.rb,
lib/wx_ext/version.rb,
lib/wx_ext/wei_xin.rb,
lib/wx_ext/api/base.rb,
lib/wx_ext/api/mass.rb,
lib/wx_ext/api/menu.rb,
lib/wx_ext/api/user.rb,
lib/wx_ext/api/qrcode.rb,
lib/wx_ext/wechat_pay.rb,
lib/wx_ext/api/semantic.rb,
lib/wx_ext/sougou_weixin.rb,
lib/wx_ext/api/user/group.rb,
lib/wx_ext/api/template_msg.rb,
lib/wx_ext/api/customer_service.rb

Overview

Weixin extention, sougou spider and weixin api.

Author:

  • FuShengYang

Defined Under Namespace

Modules: Api, Helper Classes: SougouWeixin, WechatPay, WeiXin

Constant Summary collapse

VERSION =
'0.2.5'
BASE_PAY_URL =
'https://api.mch.weixin.qq.com/'

Class Method Summary collapse

Class Method Details

.libString

Return the lib path of this gem.

Returns:

  • (String)

    Path of the gem’s lib.



24
25
26
# File 'lib/wx_ext.rb', line 24

def lib
  File.join root, 'lib'
end

.rootString

Return the root path of this gem.

Returns:

  • (String)

    Path of the gem’s root.



17
18
19
# File 'lib/wx_ext.rb', line 17

def root
  File.dirname __dir__
end

.specString

Return the spec path of this gem.

Returns:

  • (String)

    Path of the gem’s spec.



31
32
33
# File 'lib/wx_ext.rb', line 31

def spec
  File.join root, 'spec'
end