Class: ForemanDiscovery::NodeAPI::Inventory
- Inherits:
-
NodeResource
- Object
- NodeResource
- ForemanDiscovery::NodeAPI::Inventory
- Defined in:
- app/services/foreman_discovery/node_api/inventory.rb
Instance Method Summary collapse
Methods inherited from NodeResource
#initialize, #is_proxy?, #port, #root_path, #scheme
Constructor Details
This class inherits a constructor from ForemanDiscovery::NodeAPI::NodeResource
Instance Method Details
#facter ⇒ Object
7 8 9 |
# File 'app/services/foreman_discovery/node_api/inventory.rb', line 7 def facter parse(get({}, "/facter")) end |
#url ⇒ Object
3 4 5 |
# File 'app/services/foreman_discovery/node_api/inventory.rb', line 3 def url @args[:url] + "/inventory" end |