Module: OffsitePayments::Integrations::Migs

Defined in:
lib/offsite_payments/integrations/migs.rb

Defined Under Namespace

Classes: CreditCardType, Helper, Notification, SecureHash, TransactionBuilder

Constant Summary collapse

API_VERSION =
1

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.return(query_string, options = {}) ⇒ Object



6
7
8
# File 'lib/offsite_payments/integrations/migs.rb', line 6

def self.return(query_string, options = {})
  Return.new(query_string, options)
end

Instance Method Details

#test?Boolean

Returns:

  • (Boolean)


138
139
140
141
142
# File 'lib/offsite_payments/integrations/migs.rb', line 138

def test?
  # TEST prefix defines if login is for test system, see page 37 of:
  # https://anz.com.au/australia/business/merchant/pdf/MIGSProductGuide.pdf
  @options[:login].start_with?('TEST')
end