Exception: ActiveResource::MethodNotAllowed
- Inherits:
-
ClientError
- Object
- StandardError
- ConnectionError
- ClientError
- ActiveResource::MethodNotAllowed
- Defined in:
- lib/active_resource/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 ActiveResource::ConnectionError
Instance Method Details
#allowed_methods ⇒ Object
:nodoc:
94 95 96 |
# File 'lib/active_resource/exceptions.rb', line 94 def allowed_methods @response["Allow"].split(",").map { |verb| verb.strip.downcase.to_sym } end |