Exception: Hps::CardException

Inherits:
HpsException show all
Defined in:
lib/hps/infrastructure/card_exception.rb

Instance Attribute Summary collapse

Attributes inherited from HpsException

#code, #inner_exception, #response_code, #response_text

Instance Method Summary collapse

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, message)

  @transaction_id=transaction_id

  super(message, code)

end

Instance Attribute Details

#transaction_idObject

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