Sha256: fcaacb9cc3052e54b5eff7c898c537a0423f78c3a5d5770a1e40ad643970d65e

Contents?: true

Size: 385 Bytes

Versions: 10

Compression:

Stored size: 385 Bytes

Contents

module Spree
  class Gateway::PayJunction < Gateway
    preference :login, :string
    preference :password, :string

    def provider_class
      ActiveMerchant::Billing::PayJunctionGateway
    end

    def options_with_test_preference
      options_without_test_preference.merge(:test => self.preferred_test_mode)
    end

    alias_method_chain :options, :test_preference
  end
end

Version data entries

10 entries across 10 versions & 2 rubygems

Version Path
spree_gateway-3.2.0.beta app/models/spree/gateway/pay_junction.rb
solidus_gateway-1.1.1 app/models/spree/gateway/pay_junction.rb
solidus_gateway-1.1.0 app/models/spree/gateway/pay_junction.rb
spree_gateway-3.1.0 app/models/spree/gateway/pay_junction.rb
spree_gateway-3.0.0 app/models/spree/gateway/pay_junction.rb
solidus_gateway-1.0.1 app/models/spree/gateway/pay_junction.rb
solidus_gateway-0.9.0 app/models/spree/gateway/pay_junction.rb
solidus_gateway-1.0.0 app/models/spree/gateway/pay_junction.rb
spree_gateway-2.2.1 app/models/spree/gateway/pay_junction.rb
spree_gateway-2.1.1 app/models/spree/gateway/pay_junction.rb