Class: Pillow::Response

Inherits:
Object
  • Object
show all
Defined in:
lib/pillow/response.rb

Instance Attribute Summary collapse

Instance Attribute Details

#bodyObject

Returns the value of attribute body.



6
7
8
# File 'lib/pillow/response.rb', line 6

def body
  @body
end

#headersObject

Returns the value of attribute headers.



6
7
8
# File 'lib/pillow/response.rb', line 6

def headers
  @headers
end

#raw_bodyObject

Returns the value of attribute raw_body.



7
8
9
# File 'lib/pillow/response.rb', line 7

def raw_body
  @raw_body
end

#statusObject

Returns the value of attribute status.



6
7
8
# File 'lib/pillow/response.rb', line 6

def status
  @status
end