Class: HammerCLIForeman::Hostgroup::PuppetClassesCommand
- Inherits:
-
ListCommand
- Object
- HammerCLI::Apipie::Command
- Command
- ListCommand
- HammerCLIForeman::Hostgroup::PuppetClassesCommand
- Defined in:
- lib/hammer_cli_foreman/hostgroup.rb
Constant Summary
Constants inherited from ListCommand
Instance Method Summary collapse
Methods inherited from ListCommand
#adapter, command_name, #execute, #extend_data
Methods inherited from Command
build_options, connection_name, create_option_builder, #customized_options, #dependency_resolver, dependency_resolver, #get_identifier, #get_resource_id, resolver, #resolver, resource_config, resource_name_mapping, #searchables, searchables
Instance Method Details
#request_params ⇒ Object
111 112 113 114 115 |
# File 'lib/hammer_cli_foreman/hostgroup.rb', line 111 def request_params params = super params['hostgroup_id'] = get_identifier params end |
#send_request ⇒ Object
107 108 109 |
# File 'lib/hammer_cli_foreman/hostgroup.rb', line 107 def send_request HammerCLIForeman::PuppetClass::ListCommand.unhash_classes(super) end |