class UniOne::Response::RaiseError
This class raises an UniOne-flavored exception based HTTP status codes returned by the API
Private Instance Methods
on_complete(response)
click to toggle source
# File lib/unione/response/raise_error.rb, line 14 def on_complete(response) if error = UniOne::Error.from_response(response) raise error end end