Class: Fizzy::Response

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

Instance Attribute Summary collapse

Instance Attribute Details

#bodyObject (readonly)

Returns the value of attribute body

Returns:

  • (Object)

    the current value of body



4
5
6
# File 'lib/fizzy/client.rb', line 4

def body
  @body
end

#headersObject (readonly)

Returns the value of attribute headers

Returns:

  • (Object)

    the current value of headers



4
5
6
# File 'lib/fizzy/client.rb', line 4

def headers
  @headers
end

#statusObject (readonly)

Returns the value of attribute status

Returns:

  • (Object)

    the current value of status



4
5
6
# File 'lib/fizzy/client.rb', line 4

def status
  @status
end