Exception: HookSniff::ServiceUnavailableError
- Defined in:
- lib/hooksniff/errors.rb
Overview
503 Service Unavailable
Instance Attribute Summary
Attributes inherited from ApiError
#code, #response_body, #response_headers
Instance Method Summary collapse
-
#initialize(response_headers: {}, response_body: nil) ⇒ ServiceUnavailableError
constructor
A new instance of ServiceUnavailableError.
Methods inherited from ApiError
Constructor Details
#initialize(response_headers: {}, response_body: nil) ⇒ ServiceUnavailableError
Returns a new instance of ServiceUnavailableError.
115 116 117 |
# File 'lib/hooksniff/errors.rb', line 115 def initialize(response_headers: {}, response_body: nil) super(code: 503, response_headers: response_headers, response_body: response_body) end |