Class: Coolio::Http::Response

Inherits:
Struct
  • Object
show all
Defined in:
lib/cool.io/http.rb

Instance Attribute Summary collapse

Instance Attribute Details

#bodyObject

Returns the value of attribute body

Returns:

  • (Object)

    the current value of body



13
14
15
# File 'lib/cool.io/http.rb', line 13

def body
  @body
end

#headersObject

Returns the value of attribute headers

Returns:

  • (Object)

    the current value of headers



13
14
15
# File 'lib/cool.io/http.rb', line 13

def headers
  @headers
end

#statusObject

Returns the value of attribute status

Returns:

  • (Object)

    the current value of status



13
14
15
# File 'lib/cool.io/http.rb', line 13

def status
  @status
end