Class: ForemanDiscovery::Facts
- Inherits:
-
ProxyAPI::Resource
- Object
- ProxyAPI::Resource
- ForemanDiscovery::Facts
- Defined in:
- lib/foreman_discovery/facts.rb
Instance Method Summary collapse
- #facts ⇒ Object
-
#initialize(args) ⇒ Facts
constructor
A new instance of Facts.
Constructor Details
#initialize(args) ⇒ Facts
Returns a new instance of Facts.
3 4 5 6 |
# File 'lib/foreman_discovery/facts.rb', line 3 def initialize args @url = args[:url] + "/facts" super args end |
Instance Method Details
#facts ⇒ Object
8 9 10 |
# File 'lib/foreman_discovery/facts.rb', line 8 def facts parse get end |