Methods

Class Index [+]

Quicksearch

ActiveMerchant::Billing::UsaEpayGateway

Delegates to the appropriate gateway, either the Transaction or Advanced depending on options passed to new.

Public Class Methods

new(options={}) click to toggle source

Creates an instance of UsaEpayTransactionGateway by default, but if :software id or :live_url are passed in the options hash it will create an instance of UsaEpayAdvancedGateway.

    # File lib/active_merchant/billing/gateways/usa_epay.rb, line 14
14:       def self.new(options={})
15:         unless options.has_key?(:software_id) || options.has_key?(:live_url)
16:           UsaEpayTransactionGateway.new(options)
17:         else
18:           UsaEpayAdvancedGateway.new(options)
19:         end
20:       end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.