class HTTParty::ResponseError
response object accessible via the {#response} method.
@abstract Exceptions which inherit from ResponseError contain the Net::HTTP
def initialize(response)
-
(
Net::HTTPResponse
) --
def initialize(response) @response = response super(response) end