Method: Puppet::HTTP::ResponseNetHTTP#initialize
- Defined in:
- lib/puppet/http/response_net_http.rb
#initialize(url, nethttp) ⇒ ResponseNetHTTP
Create a response associated with the URL.
10 11 12 13 14 |
# File 'lib/puppet/http/response_net_http.rb', line 10 def initialize(url, nethttp) super(url, nethttp.code.to_i, nethttp.) @nethttp = nethttp end |