Class: Puppetserver::Utils::HttpClient::URL
- Inherits:
-
Struct
- Object
- Struct
- Puppetserver::Utils::HttpClient::URL
- Defined in:
- lib/puppetserver/utils/http_client.rb
Overview
Like URI, but not… maybe of suspicious value
Instance Method Summary collapse
Instance Method Details
#full_url ⇒ Object
83 84 85 86 |
# File 'lib/puppetserver/utils/http_client.rb', line 83 def full_url protocol + '://' + host + ':' + port + '/' + [endpoint, version, resource_type, resource_name].join('/') end |
#to_uri ⇒ Object
88 89 90 |
# File 'lib/puppetserver/utils/http_client.rb', line 88 def to_uri URI(full_url) end |