class HTTP::Response

Attributes

code[RW]
headers[RW]
http_response[RW]
parsed_body[RW]

Public Class Methods

new(body, code, headers, response) click to toggle source
# File lib/http/http.rb, line 13
def initialize(body, code, headers, response)
  self.parsed_body = body
  self.code = code
  self.headers = headers
  self.http_response = response
end