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