Class: HttpMonkey::Client::Response
- Inherits:
-
HTTPI::Response
- Object
- HTTPI::Response
- HttpMonkey::Client::Response
- Defined in:
- lib/http_monkey/client/response.rb
Instance Method Summary collapse
-
#initialize(code, headers, body) ⇒ Response
constructor
A new instance of Response.
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 |