class AgileCRMWrapper::MediaTypeMismatch

Raised when AgileCRMWrapper returns a 415 HTTP status code

Public Class Methods

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