Method: Puppet::HTTP::Redirector#initialize

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

#initialize(redirect_limit) ⇒ Redirector

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 redirect handler

Parameters:

  • redirect_limit (Integer)

    maximum number of redirects allowed



12
13
14
# File 'lib/puppet/http/redirector.rb', line 12

def initialize(redirect_limit)
  @redirect_limit = redirect_limit
end