Sha256: ab11854582145bb8ac2881edfcef40d1484db20c21cb503557f230738704b806

Contents?: true

Size: 342 Bytes

Versions: 4

Compression:

Stored size: 342 Bytes

Contents

module LlPay
  module Notify
    def notify_verify?(params, options = {})
      params = LlPay::Utils.stringify_keys(params)
      options = LlPay::Utils.stringify_keys(options)

      oid_partner = options[:oid_partner] || LlPay.oid_partner
      LlPay::Sign.verify?(params, options) && oid_partner == params[:oid_partner]
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
ll_pay-0.6.2 lib/ll_pay/notify.rb
ll_pay-0.6.1 lib/ll_pay/notify.rb
ll_pay-0.6.0 lib/ll_pay/notify.rb
ll_pay-0.5.0 lib/ll_pay/notify.rb