Sha256: 482fdaf3c026f8b8e402cda9f218fe9fe911c80e4467fc7fdc8f389990dfc9cc

Contents?: true

Size: 340 Bytes

Versions: 1

Compression:

Stored size: 340 Bytes

Contents

module LlPay
  module Notify
    def self.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

1 entries across 1 versions & 1 rubygems

Version Path
ll_pay-0.4.0 lib/ll_pay/notify.rb