class RevereMobile::Response::RaiseError

Raises erors on Faraday Responses

Private Instance Methods

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