Class: Nombaone::Internal::Response Private

Inherits:
Struct
  • Object
show all
Defined in:
lib/nombaone/internal/http_client.rb,
sig/nombaone/internal.rbs

Overview

This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.

One raw HTTP round-trip's outcome: status, lower-cased headers, and the unparsed body string.

Instance Attribute Summary collapse

Instance Attribute Details

#bodyObject

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Returns the value of attribute body

Returns:

  • (Object)

    the current value of body



12
13
14
# File 'lib/nombaone/internal/http_client.rb', line 12

def body
  @body
end

#headersObject

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Returns the value of attribute headers

Returns:

  • (Object)

    the current value of headers



12
13
14
# File 'lib/nombaone/internal/http_client.rb', line 12

def headers
  @headers
end

#statusObject

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Returns the value of attribute status

Returns:

  • (Object)

    the current value of status



12
13
14
# File 'lib/nombaone/internal/http_client.rb', line 12

def status
  @status
end