Method: AuthorizeNet::AIM::Transaction#test?
- Defined in:
- lib/authorize_net/aim/transaction.rb
#test? ⇒ Boolean
Checks if the transaction has been configured for test mode or not. Return TRUE if the transaction is a test transaction, FALSE otherwise. All transactions run against the sandbox are considered test transactions.
79 80 81 |
# File 'lib/authorize_net/aim/transaction.rb', line 79 def test? super || @gateway == Gateway::TEST end |