Exception: Servus::Support::Errors::MethodNotAllowedError
- Inherits:
-
ServiceError
- Object
- StandardError
- ServiceError
- Servus::Support::Errors::MethodNotAllowedError
- Defined in:
- lib/servus/support/errors.rb
Overview
405 Method Not Allowed - HTTP method not supported for this resource.
Constant Summary collapse
- DEFAULT_MESSAGE =
'Method not allowed'
Instance Attribute Summary
Attributes inherited from ServiceError
Instance Method Summary collapse
Methods inherited from ServiceError
Constructor Details
This class inherits a constructor from Servus::Support::Errors::ServiceError
Instance Method Details
#api_error ⇒ Object
132 |
# File 'lib/servus/support/errors.rb', line 132 def api_error = { code: http_status, message: } |
#http_status ⇒ Object
131 |
# File 'lib/servus/support/errors.rb', line 131 def http_status = :method_not_allowed |