Class: HttpMonkey::Client::Response

Inherits:
HTTPI::Response
  • Object
show all
Defined in:
lib/http_monkey/client/response.rb

Instance Method Summary collapse

Constructor Details

#initialize(code, headers, body) ⇒ Response

Returns a new instance of Response.



5
6
7
8
# File 'lib/http_monkey/client/response.rb', line 5

def initialize(code, headers, body)
  super
  self.headers = HttpObjects::HeadersHash.new(headers)
end