Exception: Justifi::InvalidHttpResponseError
- Defined in:
- lib/justifi/justifi_error.rb
Instance Attribute Summary
Attributes inherited from Error
#error_details, #response_code
Instance Method Summary collapse
-
#initialize(response:) ⇒ InvalidHttpResponseError
constructor
A new instance of InvalidHttpResponseError.
Constructor Details
#initialize(response:) ⇒ InvalidHttpResponseError
Returns a new instance of InvalidHttpResponseError.
15 16 17 |
# File 'lib/justifi/justifi_error.rb', line 15 def initialize(response:) super(response.http_status, response., error_details: response.error_details) end |