Sha256: b3505275f29538366dbcd928c7bb2092699f27820fe87ba6302728e9ab69ab26

Contents?: true

Size: 439 Bytes

Versions: 1

Compression:

Stored size: 439 Bytes

Contents

require 'active_merchant/billing/gateways/first_pay/first_pay_xml'
require 'active_merchant/billing/gateways/first_pay/first_pay_json'

module ActiveMerchant #:nodoc:
  module Billing #:nodoc:
    class FirstPayGateway < Gateway
      self.abstract_class = true

      def self.new(options = {})
        return FirstPayJsonGateway.new(options) if options[:merchant_key]

        FirstPayXmlGateway.new(options)
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
activemerchant-1.137.0 lib/active_merchant/billing/gateways/first_pay.rb