Sha256: e0191a6e9a012500cb995e09972f48629d005ad21963b8da329011823f193411
Contents?: true
Size: 560 Bytes
Versions: 3
Compression:
Stored size: 560 Bytes
Contents
require "jd_pay/version" require "jd_pay/des" require "jd_pay/result" require "jd_pay/service" require "jd_pay/sign" require "jd_pay/util" require "jd_pay/qr_service" module JdPay @extra_rest_client_options = {} @debug_mode = true class << self attr_accessor :mch_id, :md5_key, :des_key, :pri_key, :pub_key, :debug_mode, :extra_rest_client_options, :qr_mch_id, :qr_des_key, :qr_pri_key def public_key self.pub_key ? self.pub_key : JdPay::Sign::JDPAY_RSA_PUBLIC_KEY end def debug_mode? !!@debug_mode end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
jdpay-0.1.3 | lib/jd_pay.rb |
jdpay-0.1.2 | lib/jd_pay.rb |
jdpay-0.1.1 | lib/jd_pay.rb |