Exception: Hps::HpsCheckException

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

Instance Attribute Summary collapse

Attributes inherited from HpsException

#inner_exception, #response_code, #response_text

Instance Method Summary collapse

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, message = nil)
  @transaction_id = transaction_id
  @details = details
  super(message, code)
end

Instance Attribute Details

#codeObject

Returns the value of attribute code.



3
4
5
# File 'lib/hps/infrastructure/hps_check_exception.rb', line 3

def code
  @code
end

#detailsObject

Returns the value of attribute details.



3
4
5
# File 'lib/hps/infrastructure/hps_check_exception.rb', line 3

def details
  @details
end

#transaction_idObject

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