Exception: CouchResource::MethodNotAllowed
- Inherits:
-
ClientError
- Object
- StandardError
- CouchResourceError
- ConnectionError
- ClientError
- CouchResource::MethodNotAllowed
- Defined in:
- lib/couch_resource/connection.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 CouchResource::ConnectionError
Instance Method Details
#allowed_methods ⇒ Object
:nodoc:
57 58 59 |
# File 'lib/couch_resource/connection.rb', line 57 def allowed_methods @response['Allow'].split(',').map { |verb| verb.strip.downcase.to_sym } end |