Method: AuthorizeNet::XmlTransaction#test?
- Defined in:
- lib/authorize_net/xml_transaction.rb
#test? ⇒ Boolean
Checks if the transaction has been configured for the sandbox or not. Return FALSE if the transaction is running against the production, TRUE otherwise.
88 89 90 |
# File 'lib/authorize_net/xml_transaction.rb', line 88 def test? @gateway != Gateway::LIVE end |