Class: Puppetserver::Ca::Utils::HttpClient::URL
- Inherits:
-
Struct
- Object
- Struct
- Puppetserver::Ca::Utils::HttpClient::URL
- Defined in:
- lib/puppetserver/ca/utils/http_client.rb
Overview
Like URI, but not… maybe of suspicious value
Instance Method Summary collapse
Instance Method Details
#full_url ⇒ Object
95 96 97 98 |
# File 'lib/puppetserver/ca/utils/http_client.rb', line 95 def full_url protocol + '://' + host + ':' + port + '/' + [endpoint, version, resource_type, resource_name].join('/') end |
#to_uri ⇒ Object
100 101 102 |
# File 'lib/puppetserver/ca/utils/http_client.rb', line 100 def to_uri URI(full_url) end |