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