Module: HammerCLIKatello::RepositoryScopedToProduct
- Included in:
- AssociatingCommands::Repository::AddRepositoryCommand, AssociatingCommands::Repository::RemoveRepositoryCommand, HammerCLIKatello::Repository::DeleteCommand, HammerCLIKatello::Repository::ExportCommand, HammerCLIKatello::Repository::InfoCommand, HammerCLIKatello::Repository::RemoveContentCommand, HammerCLIKatello::Repository::SyncCommand, HammerCLIKatello::Repository::UpdateCommand, HammerCLIKatello::Repository::UploadContentCommand
- Defined in:
- lib/hammer_cli_katello/repository_scoped_to_product.rb
Class Method Summary collapse
Class Method Details
.included(base) ⇒ Object
3 4 5 6 7 |
# File 'lib/hammer_cli_katello/repository_scoped_to_product.rb', line 3 def self.included(base) base. do any(:option_product_name, :option_product_id).required if option(:option_name).exist? end end |