Exception: AgileCRMWrapper::MethodNotAllowed
- Inherits:
-
ClientError
- Object
- StandardError
- Error
- ClientError
- AgileCRMWrapper::MethodNotAllowed
- Defined in:
- lib/agilecrm-wrapper/error.rb
Overview
Raised when AgileCRMWrapper returns a 405 HTTP status code
Instance Attribute Summary
Attributes inherited from Error
Instance Method Summary collapse
-
#initialize(response, message = 'Invalid method type') ⇒ MethodNotAllowed
constructor
A new instance of MethodNotAllowed.
Methods inherited from Error
Constructor Details
#initialize(response, message = 'Invalid method type') ⇒ MethodNotAllowed
Returns a new instance of MethodNotAllowed.
54 55 56 |
# File 'lib/agilecrm-wrapper/error.rb', line 54 def initialize(response, = 'Invalid method type') super(response, ) end |