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