class Academical::HttpClient::Response

Response object contains the response returned by the client

Attributes

body[RW]
code[RW]
headers[RW]

Public Class Methods

new(body, code, headers) click to toggle source
# File lib/academical/http_client/response.rb, line 10
def initialize(body, code, headers)
  @body = body
  @code = code
  @headers = headers
end