Sha256: 0d85f5d18ae1b266556fde6c2f54270da7bbe0ee444e929f392c94277586d26f

Contents?: true

Size: 205 Bytes

Versions: 15

Compression:

Stored size: 205 Bytes

Contents

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

Spree::Payment.prepend Spree::ApplePayPaymentDecorator

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
spree_gateway-3.9.3 app/models/spree/apple_pay_payment_decorator.rb
spree_gateway-3.9.2 app/models/spree/apple_pay_payment_decorator.rb
spree_gateway-3.9.0 app/models/spree/apple_pay_payment_decorator.rb
spree_gateway-3.8.0 app/models/spree/apple_pay_payment_decorator.rb
spree_gateway-3.7.5 app/models/spree/apple_pay_payment_decorator.rb
spree_gateway-3.7.4 app/models/spree/apple_pay_payment_decorator.rb
spree_gateway-3.7.3 app/models/spree/apple_pay_payment_decorator.rb
spree_gateway-3.7.2 app/models/spree/apple_pay_payment_decorator.rb
spree_gateway-3.7.1 app/models/spree/apple_pay_payment_decorator.rb
spree_gateway-3.7.0 app/models/spree/apple_pay_payment_decorator.rb
spree_gateway-3.6.7 app/models/spree/apple_pay_payment_decorator.rb
spree_gateway-3.6.5 app/models/spree/apple_pay_payment_decorator.rb
spree_gateway-3.6.4 app/models/spree/apple_pay_payment_decorator.rb
spree_gateway-3.6.1 app/models/spree/apple_pay_payment_decorator.rb
spree_gateway-3.6.0 app/models/spree/apple_pay_payment_decorator.rb