Class: Mashape::HttpResponse

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

Instance Attribute Summary collapse

Instance Attribute Details

#bodyObject

Returns the value of attribute body.



19
20
21
# File 'lib/http_client.rb', line 19

def body
  @body
end

#codeObject

Returns the value of attribute code.



17
18
19
# File 'lib/http_client.rb', line 17

def code
  @code
end

#headersObject

Returns the value of attribute headers.



20
21
22
# File 'lib/http_client.rb', line 20

def headers
  @headers
end

#raw_bodyObject

Returns the value of attribute raw_body.



18
19
20
# File 'lib/http_client.rb', line 18

def raw_body
  @raw_body
end