Method: Puppet::HTTP::Site#initialize

Defined in:
lib/puppet/http/site.rb

#initialize(scheme, host, port) ⇒ Site

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Returns a new instance of Site.



14
15
16
17
18
# File 'lib/puppet/http/site.rb', line 14

def initialize(scheme, host, port)
  @scheme = scheme
  @host = host
  @port = port.to_i
end