class AgileCRMWrapper::Unauthorized

Raised when AgileCRMWrapper returns a 401 HTTP status code

Public Class Methods

new(response, message = 'Invalid API Key') click to toggle source
Calls superclass method AgileCRMWrapper::Error::new
# File lib/agilecrm-wrapper/error.rb, line 40
def initialize(response, message = 'Invalid API Key')
  super(response, message)
end