Class: BreadMachine::SecureTrading::AuthReversalResponse

Inherits:
XpayResponse
  • Object
show all
Defined in:
lib/breadmachine/secure_trading/auth_reversal_response.rb

Instance Method Summary collapse

Methods inherited from XpayResponse

#error?, #initialize, #message, #result

Constructor Details

This class inherits a constructor from BreadMachine::SecureTrading::XpayResponse

Instance Method Details

#successful?Boolean

Returns:

  • (Boolean)


5
6
7
# File 'lib/breadmachine/secure_trading/auth_reversal_response.rb', line 5

def successful?
  self.result == '1'
end