Exception: OldApiResource::MethodNotAllowed
- Inherits:
-
ClientError
- Object
- StandardError
- ConnectionError
- ClientError
- OldApiResource::MethodNotAllowed
- Defined in:
- lib/old_api_resource/exceptions.rb
Overview
405 Method Not Allowed
Instance Attribute Summary
Attributes inherited from ConnectionError
Instance Method Summary collapse
Methods inherited from ConnectionError
#http_code, #initialize, #to_s
Constructor Details
This class inherits a constructor from OldApiResource::ConnectionError
Instance Method Details
#allowed_methods ⇒ Object
81 82 83 |
# File 'lib/old_api_resource/exceptions.rb', line 81 def allowed_methods @response['Allow'].split(',').map { |verb| verb.strip.downcase.to_sym } end |