Class: ForemanProbing::StructuredFactImporter
- Inherits:
-
StructuredFactImporter
- Object
- StructuredFactImporter
- ForemanProbing::StructuredFactImporter
- Defined in:
- app/services/foreman_probing/structured_fact_importer.rb
Instance Method Summary collapse
- #fact_name_class ⇒ Object
-
#initialize(host, facts = {}) ⇒ StructuredFactImporter
constructor
A new instance of StructuredFactImporter.
Constructor Details
#initialize(host, facts = {}) ⇒ StructuredFactImporter
Returns a new instance of StructuredFactImporter.
7 8 9 10 11 |
# File 'app/services/foreman_probing/structured_fact_importer.rb', line 7 def initialize(host, facts = {}) @host = find_host(host, facts) @facts = normalize(facts) @counters = {} end |
Instance Method Details
#fact_name_class ⇒ Object
3 4 5 |
# File 'app/services/foreman_probing/structured_fact_importer.rb', line 3 def fact_name_class ForemanProbing::FactName end |