Sha256: b56b6a10acd64f88c8f81ce01dfb4c90a638bfd468cd7ac3e1c0ec0062cf9885

Contents?: true

Size: 435 Bytes

Versions: 1

Compression:

Stored size: 435 Bytes

Contents

require 'active_merchant/billing/gateways/cecabank/cecabank_xml'
require 'active_merchant/billing/gateways/cecabank/cecabank_json'

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

      def self.new(options = {})
        return CecabankJsonGateway.new(options) if options[:is_rest_json]

        CecabankXmlGateway.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/cecabank.rb