Sha256: ed492da85c87f048a41f743fc7a9a96576ed79b0872a2b13c7f17f3c8b55f993
Contents?: true
Size: 470 Bytes
Versions: 1
Compression:
Stored size: 470 Bytes
Contents
require 'date' require 'uri' require 'http' # https://github.com/httprb/http module LlPay module QueryOrder def query_single_order(sign_type, no_order, dt_order) query_order_hash = { oid_partner: LlPay.oid_partner, dt_order: dt_order, no_order: no_order, sign_type: sign_type } query_order_hash[:sign] = LlPay::Sign.generate(query_order_hash) request(:post, 'https://yintong.com.cn/queryapi/orderquery.htm', query_order_hash) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
ll_pay-0.5.0 | lib/ll_pay/query_order.rb |