Class: HammerCLIKatello::RepositorySetCommand::AvailableRepositoriesCommand
- Inherits:
-
ListCommand
- Object
- HammerCLIForeman::ListCommand
- ListCommand
- HammerCLIKatello::RepositorySetCommand::AvailableRepositoriesCommand
- Extended by:
- Validations
- Defined in:
- lib/hammer_cli_katello/repository_set.rb
Class Method Summary collapse
-
.custom_option_builders ⇒ Object
We need to define
custom_option_builders
andrequest_params
to be able to resolve the –name to –id for repository set.
Instance Method Summary collapse
Methods included from Validations
Methods inherited from ListCommand
Methods included from HammerCLIKatello::ResolverCommons
Class Method Details
.custom_option_builders ⇒ Object
We need to define custom_option_builders
and request_params
to be able to resolve the –name to –id for repository set
77 78 79 |
# File 'lib/hammer_cli_katello/repository_set.rb', line 77 def self.custom_option_builders super + [HammerCLIForeman::SearchablesOptionBuilder.new(resource, searchables)] end |
Instance Method Details
#request_params ⇒ Object
81 82 83 |
# File 'lib/hammer_cli_katello/repository_set.rb', line 81 def request_params super.update('id' => get_identifier) end |