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