Sha256: 1dee3efe0148a1375852789b7182aa8726d12eae8773f5ae2f5e1327bcc8f3cc
Contents?: true
Size: 345 Bytes
Versions: 1
Compression:
Stored size: 345 Bytes
Contents
module Alipay class Notify def self.verify?(params) if Sign.verify?(params) params = Utils.symbolize_keys(params) open("https://mapi.alipay.com/gateway.do?service=notify_verify&partner=#{Alipay.pid}¬ify_id=#{CGI.escape params[:notify_id].to_s}").read == 'true' else false end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
alipay-0.0.1 | lib/alipay/notify.rb |