class Azimuth::Response::RaiseError

Raises a Azimuth exception based on status code returned by the API

Private Instance Methods

on_complete(response) click to toggle source
# File lib/azimuth/response/raise_error.rb, line 11
def on_complete(response)
  if error = Azimuth::Error.from_response(response)
    raise error
  end
end