Exception: Parliament::NoContentResponseError
- Inherits:
-
NetworkError
- Object
- StandardError
- NetworkError
- Parliament::NoContentResponseError
- Defined in:
- lib/parliament/no_content_response_error.rb
Overview
An error raised when an empty response is returned by Net::HTTP inside of Parliament::Request.
Instance Method Summary collapse
-
#initialize(url, response) ⇒ NoContentResponseError
constructor
A new instance of NoContentResponseError.
Constructor Details
#initialize(url, response) ⇒ NoContentResponseError
Returns a new instance of NoContentResponseError.
15 16 17 |
# File 'lib/parliament/no_content_response_error.rb', line 15 def initialize(url, response) super end |