class MoesifApi::HttpResponse

Attributes

headers[RW]
raw_body[RW]
status_code[RW]

Public Class Methods

new(status_code, headers, raw_body) click to toggle source

The constructor.

@param [Integer] The status code returned by the server. @param [Hash] The headers sent by the server in the response. @param [String] The raw body of the response.

# File lib/moesif_api/http/http_response.rb, line 11
def initialize(status_code,
               headers,
               raw_body)
  @status_code = status_code
  @headers = headers
  @raw_body = raw_body
end