Sha256: a83d8f7ce4e3cacff5803f48ea802d280aa5df84bde8945cc9d72df522fdf78b

Contents?: true

Size: 488 Bytes

Versions: 17

Compression:

Stored size: 488 Bytes

Contents

module Spree
  # @deprecated Use Spree::PaymentMethod::CreditCard or Spree::PaymentMethod instead
  class Gateway < PaymentMethod::CreditCard
    def initialize(*args)
      Spree::Deprecation.warn \
        "Using Spree::Gateway as parent class of payment methods is deprecated. " \
        "Please use Spree::PaymentMethod::CreditCard for credit card based payment methods " \
        "or Spree::PaymentMethod for non credit card payment methods instead."
      super
    end
  end
end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
solidus_core-2.5.2 app/models/spree/gateway.rb
solidus_core-2.5.1 app/models/spree/gateway.rb
solidus_core-2.5.0 app/models/spree/gateway.rb
solidus_core-2.5.0.rc1 app/models/spree/gateway.rb
solidus_core-2.5.0.beta2 app/models/spree/gateway.rb
solidus_core-2.5.0.beta1 app/models/spree/gateway.rb
solidus_core-2.4.2 app/models/spree/gateway.rb
solidus_core-2.3.1 app/models/spree/gateway.rb
solidus_core-2.4.1 app/models/spree/gateway.rb
solidus_core-2.4.0 app/models/spree/gateway.rb
solidus_core-2.4.0.rc1 app/models/spree/gateway.rb
solidus_core-2.4.0.beta1 app/models/spree/gateway.rb
solidus_core-2.3.0 app/models/spree/gateway.rb
solidus_core-2.3.0.rc3 app/models/spree/gateway.rb
solidus_core-2.3.0.rc2 app/models/spree/gateway.rb
solidus_core-2.3.0.rc1 app/models/spree/gateway.rb
solidus_core-2.3.0.beta1 app/models/spree/gateway.rb