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