Sha256: d7ea123ac401bddf207ae604f8514eeb1309827134942fd6755af829c078e041

Contents?: true

Size: 224 Bytes

Versions: 5

Compression:

Stored size: 224 Bytes

Contents

module SpreeGateway
  module ApplePayPaymentDecorator
    def apple_pay?
      payment_method.is_a? Spree::Gateway::StripeApplePayGateway
    end
  end
end

::Spree::Payment.prepend(::SpreeGateway::ApplePayPaymentDecorator)

Version data entries

5 entries across 5 versions & 2 rubygems

Version Path
spree_gateway-3.11.0 app/models/spree_gateway/apple_pay_payment_decorator.rb
spree_gateway-3.10.0 app/models/spree_gateway/apple_pay_payment_decorator.rb
archetype_spree_gateway-3.9.5.1 app/models/spree_gateway/apple_pay_payment_decorator.rb
archetype_spree_gateway-3.9.5 app/models/spree_gateway/apple_pay_payment_decorator.rb
spree_gateway-3.9.4 app/models/spree_gateway/apple_pay_payment_decorator.rb