Sha256: cd5d85208072bb4456c139f0faeec21d3ebe3181c2ba009e06e0902f219a04e5

Contents?: true

Size: 445 Bytes

Versions: 1

Compression:

Stored size: 445 Bytes

Contents

# coding: utf-8

# 客户端

module ChanPay
  class Client

    include ChanPay::Api::QuickPay
    include ChanPay::Api::QueryOrder

    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.1.0 lib/chan_pay/client.rb