Class: Puppet::Network::HTTP::HttpConnection
- Inherits:
-
Connection
- Object
- Connection
- Puppet::Network::HTTP::HttpConnection
- Defined in:
- lib/puppet/patch/http_connection.rb
Instance Method Summary collapse
-
#initialize(host, port, options = {}) ⇒ HttpConnection
constructor
A new instance of HttpConnection.
Constructor Details
#initialize(host, port, options = {}) ⇒ HttpConnection
Returns a new instance of HttpConnection.
6 7 8 9 |
# File 'lib/puppet/patch/http_connection.rb', line 6 def initialize(host, port, = {}) verify = Puppet::SSL::Validator.no_validator super host, port, .merge(:use_ssl => false, :verify => verify) end |