class ActiveMerchant::Billing::CecabankGateway

Public Class Methods

new(options = {}) click to toggle source
# File lib/active_merchant/billing/gateways/cecabank.rb, line 9
def self.new(options = {})
  return CecabankJsonGateway.new(options) if options[:is_rest_json]

  CecabankXmlGateway.new(options)
end