Method: Puppet::HTTP::Service#initialize

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

#initialize(client, session, url) ⇒ Service

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.

Create a new service. Services should be created by calling ‘Puppet::HTTP::Session#route_to`.

Parameters:



67
68
69
70
71
# File 'lib/puppet/http/service.rb', line 67

def initialize(client, session, url)
  @client = client
  @session = session
  @url = url
end