Exception: Nestful::MethodNotAllowed
- Inherits:
-
ClientError
- Object
- StandardError
- Error
- ResponseError
- ClientError
- Nestful::MethodNotAllowed
- Defined in:
- lib/nestful/exceptions.rb
Overview
405 Method Not Allowed
Instance Attribute Summary
Attributes inherited from ResponseError
Attributes inherited from Error
Instance Method Summary collapse
-
#allowed_methods ⇒ Object
:nodoc:.
Methods inherited from ResponseError
Methods inherited from Error
Constructor Details
This class inherits a constructor from Nestful::ResponseError
Instance Method Details
#allowed_methods ⇒ Object
:nodoc:
91 92 93 |
# File 'lib/nestful/exceptions.rb', line 91 def allowed_methods @response['Allow'].split(',').map { |verb| verb.strip.downcase.to_sym } end |