Method: X::HTTPError#response

Defined in:
lib/x/errors/http_error.rb

#responseNet::HTTPResponse (readonly)

The HTTP response

Examples:

Get the response

error.response

Returns:

  • the HTTP response

API:

  • public



16
17
18
# File 'lib/x/errors/http_error.rb', line 16

def response
  @response
end