Module: Spree::Adyen::HppCheck
- Included in:
- Admin::RefundsController, Payment
- Defined in:
- lib/spree/adyen/hpp_check.rb
Overview
Used when we have to override functionally inside spree, usually payments, that is a conditional flow only on hpp payments.
Instance Method Summary collapse
Instance Method Details
#hpp_payment?(payment = self) ⇒ Boolean
6 7 8 |
# File 'lib/spree/adyen/hpp_check.rb', line 6 def hpp_payment? payment = self payment.source.class == Spree::Adyen::HppSource end |