Sha256: 7b896c901c28389e93ca9217f15db41a28b103556fd5e4eabb6c5c9842958f86
Contents?: true
Size: 457 Bytes
Versions: 3
Compression:
Stored size: 457 Bytes
Contents
require 'wx_pay/result' require 'wx_pay/sign' require 'wx_pay/service' module WxPay class<< self attr_accessor :appid, :mch_id, :key, :apiclient_cert_path def extra_rest_client_options=(options) @rest_client_options = options end def extra_rest_client_options @rest_client_options || {} end def apiclient_cert @apiclient_cert ||= OpenSSL::PKCS12.new(WxPay.apiclient_cert_path, WxPay.mch_id) end end end
Version data entries
3 entries across 3 versions & 2 rubygems
Version | Path |
---|---|
weixin_pay-0.2.0 | lib/weixin_pay.rb |
wx_pay-0.2.0 | lib/wx_pay.rb |
wx_pay-0.1.0 | lib/wx_pay.rb |