Exception: Hyperdrive::Errors::NotImplemented
- Defined in:
- lib/hyperdrive/errors/not_implemented.rb
Instance Attribute Summary
Attributes inherited from HTTPError
Instance Method Summary collapse
-
#initialize(request_method) ⇒ NotImplemented
constructor
A new instance of NotImplemented.
Constructor Details
#initialize(request_method) ⇒ NotImplemented
Returns a new instance of NotImplemented.
4 5 6 7 |
# File 'lib/hyperdrive/errors/not_implemented.rb', line 4 def initialize(request_method) @message = "The server either does not recognise the request method (#{request_method}), or it lacks the ability to fulfill the request." @http_status_code = 501 end |