Sha256: ad0ee811776d88d932a51953ed9c6bd1cd220cd1ba78da0d15aaff6e423be918

Contents?: true

Size: 841 Bytes

Versions: 2

Compression:

Stored size: 841 Bytes

Contents

class Spree::BillingIntegration
  class SisowBilling
    class Method < ::Spree::PaymentMethod
      class << self
        extend Gem::Deprecate
        deprecate :new, "PaymentMethod", 2016, 10
      end
    end

    class Bancontact < Method
      def self.new(*attrs)
        super
        ::Spree::PaymentMethod::SisowBilling::Bancontact.new(*attrs)
      end
    end

    class Creditcard < Method
      def self.new(*attrs)
        super
        ::Spree::PaymentMethod::SisowBilling::Creditcard.new(*attrs)
      end
    end

    class Ideal < Method
      def self.new(*attrs)
        super
        ::Spree::PaymentMethod::SisowBilling::Ideal.new(*attrs)
      end
    end

    class Sofort < Method
      def self.new(*attrs)
        super
        ::Spree::PaymentMethod::SisowBilling::Sofort.new(*attrs)
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
spree_billing_sisow-0.9.2 app/models/spree/billing_integration.rb
spree_billing_sisow-0.9.1 app/models/spree/billing_integration.rb