Exception: Justifi::Error
- Inherits:
-
StandardError
- Object
- StandardError
- Justifi::Error
- Defined in:
- lib/justifi/justifi_error.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#response_code ⇒ Object
readonly
Returns the value of attribute response_code.
Instance Method Summary collapse
-
#initialize(response_code, msg) ⇒ Error
constructor
A new instance of Error.
Constructor Details
#initialize(response_code, msg) ⇒ Error
Returns a new instance of Error.
7 8 9 10 |
# File 'lib/justifi/justifi_error.rb', line 7 def initialize(response_code, msg) super(msg) @response_code = response_code end |
Instance Attribute Details
#response_code ⇒ Object (readonly)
Returns the value of attribute response_code.
5 6 7 |
# File 'lib/justifi/justifi_error.rb', line 5 def response_code @response_code end |