module WxPay
Constants
- VERSION
Attributes
apiclient_cert_path[RW]
appid[RW]
key[RW]
mch_id[RW]
Public Class Methods
apiclient_cert(cert_path, mch_id)
click to toggle source
# File lib/wx_pay.rb, line 17 def apiclient_cert(cert_path, mch_id) OpenSSL::PKCS12.new(File.read(cert_path), mch_id) end
extra_rest_client_options()
click to toggle source
# File lib/wx_pay.rb, line 13 def extra_rest_client_options @rest_client_options || {} end
extra_rest_client_options=(options)
click to toggle source
# File lib/wx_pay.rb, line 9 def extra_rest_client_options=(options) @rest_client_options = options end