Method: Puppet::HTTP::Site.from_uri
- Defined in:
- lib/puppet/http/site.rb
.from_uri(uri) ⇒ Object
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.
12 13 14 |
# File 'lib/puppet/http/site.rb', line 12 def self.from_uri(uri) new(uri.scheme, uri.host, uri.port) end |