Class: Octarine::SimpleHTTP::Response

Inherits:
Struct
  • Object
show all
Defined in:
lib/octarine/simple_http.rb

Instance Attribute Summary collapse

Instance Attribute Details

#bodyObject

Returns the value of attribute body

Returns:

  • (Object)

    the current value of body



9
10
11
# File 'lib/octarine/simple_http.rb', line 9

def body
  @body
end

#headersObject

Returns the value of attribute headers

Returns:

  • (Object)

    the current value of headers



9
10
11
# File 'lib/octarine/simple_http.rb', line 9

def headers
  @headers
end

#statusObject

Returns the value of attribute status

Returns:

  • (Object)

    the current value of status



9
10
11
# File 'lib/octarine/simple_http.rb', line 9

def status
  @status
end