Sha256: 09ba093d49ade4cf3d4113f2eee2d015216fbd65b083b5a1a8daa460efe61c70
Contents?: true
Size: 603 Bytes
Versions: 1
Compression:
Stored size: 603 Bytes
Contents
# coding: utf-8 # 客户端 module ChanPay class Client include ChanPay::Api::QuickPay include ChanPay::Api::QueryOrder include ChanPay::Api::QueryBalance include ChanPay::Api::SmsPayRequest include ChanPay::Api::SmsPayConfirm include ChanPay::Api::SmsPayResend def initialize(options_arg) options = Utils.symbolize_keys(options_arg) @partner_id = options[:partner_id] @seller_id = options[:seller_id] @server_uri = URI options[:server_url] @private_key = options[:private_key] @public_key = options[:public_key] end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
chan_pay-0.2.0 | lib/chan_pay/client.rb |