Exception: Hps::HpsCheckException
- Inherits:
-
HpsException
- Object
- StandardError
- HpsException
- Hps::HpsCheckException
- Defined in:
- lib/hps/infrastructure/hps_check_exception.rb
Instance Attribute Summary collapse
-
#code ⇒ Object
Returns the value of attribute code.
-
#details ⇒ Object
Returns the value of attribute details.
-
#transaction_id ⇒ Object
Returns the value of attribute transaction_id.
Attributes inherited from HpsException
#inner_exception, #response_code, #response_text
Instance Method Summary collapse
-
#initialize(transaction_id, details, code, message = nil) ⇒ HpsCheckException
constructor
A new instance of HpsCheckException.
Constructor Details
#initialize(transaction_id, details, code, message = nil) ⇒ HpsCheckException
Returns a new instance of HpsCheckException.
7 8 9 10 11 |
# File 'lib/hps/infrastructure/hps_check_exception.rb', line 7 def initialize(transaction_id, details, code, = nil) @transaction_id = transaction_id @details = details super(, code) end |
Instance Attribute Details
#code ⇒ Object
Returns the value of attribute code.
3 4 5 |
# File 'lib/hps/infrastructure/hps_check_exception.rb', line 3 def code @code end |
#details ⇒ Object
Returns the value of attribute details.
3 4 5 |
# File 'lib/hps/infrastructure/hps_check_exception.rb', line 3 def details @details end |
#transaction_id ⇒ Object
Returns the value of attribute transaction_id.
3 4 5 |
# File 'lib/hps/infrastructure/hps_check_exception.rb', line 3 def transaction_id @transaction_id end |