Class: Zizq::Client::RawResponse

Inherits:
Data
  • Object
show all
Defined in:
lib/zizq/client.rb

Overview

A fully-read HTTP response (status + decoded body), safe to use outside the async reactor that produced it.

Instance Attribute Summary collapse

Instance Attribute Details

#bodyObject (readonly)

Returns the value of attribute body

Returns:

  • (Object)

    the current value of body



31
32
33
# File 'lib/zizq/client.rb', line 31

def body
  @body
end

#content_typeObject (readonly)

Returns the value of attribute content_type

Returns:

  • (Object)

    the current value of content_type



31
32
33
# File 'lib/zizq/client.rb', line 31

def content_type
  @content_type
end

#statusObject (readonly)

Returns the value of attribute status

Returns:

  • (Object)

    the current value of status



31
32
33
# File 'lib/zizq/client.rb', line 31

def status
  @status
end