Exception: AgileCRMWrapper::MethodNotAllowed

Inherits:
ClientError show all
Defined in:
lib/agilecrm-wrapper/error.rb

Overview

Raised when AgileCRMWrapper returns a 405 HTTP status code

Instance Attribute Summary

Attributes inherited from Error

#response

Instance Method Summary collapse

Methods inherited from Error

errors, from_response

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, message = 'Invalid method type')
  super(response, message)
end