Class: HttpResponse

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

Overview

This class' sole purpose is to represent the a http_query response

Instance Attribute Summary (collapse)

Instance Attribute Details

- (Object) body

Returns the value of attribute body



3
4
5
# File 'lib/http_response.rb', line 3

def body
  @body
end

- (Object) status

Returns the value of attribute status



3
4
5
# File 'lib/http_response.rb', line 3

def status
  @status
end