Method: Puppet::HTTP::Service::Ca#initialize
- Defined in:
- lib/puppet/http/service/ca.rb
#initialize(client, session, server, port) ⇒ Ca
Use ‘Puppet::HTTP::Session.route_to(:ca)` to create or get an instance of this class.
24 25 26 27 |
# File 'lib/puppet/http/service/ca.rb', line 24 def initialize(client, session, server, port) url = build_url(API, server || Puppet[:ca_server], port || Puppet[:ca_port]) super(client, session, url) end |