Module: HammerCLIForemanDiscovery::CommonDiscoveryRuleUpdateOptions
- Included in:
- DiscoveryRule::CreateCommand, DiscoveryRule::UpdateCommand
- Defined in:
- lib/hammer_cli_foreman_discovery/discovery_rule.rb
Class Method Summary collapse
Class Method Details
.included(base) ⇒ Object
12 13 14 15 |
# File 'lib/hammer_cli_foreman_discovery/discovery_rule.rb', line 12 def self.included(base) base.option "--hosts-limit", "HOSTS_LIMIT", " ", :attribute_name => :option_max_count base. :without => :max_count end |