Class: HammerCLIKatello::AssociatingCommands::Repository::AddRepositoryCommand

Inherits:
HammerCLIKatello::AddAssociatedCommand show all
Extended by:
AddProductOptions, RepositoryScopedToProduct
Includes:
OrganizationOptions
Defined in:
lib/hammer_cli_katello/associating_commands.rb

Instance Method Summary collapse

Methods included from AddProductOptions

create_option_builder, dependencies

Methods included from RepositoryScopedToProduct

validate_repo_name_requires_product_options

Methods included from OrganizationOptions

included, #org_options

Methods included from ResolverCommons

included

Instance Method Details

#validate_optionsObject



33
34
35
36
# File 'lib/hammer_cli_katello/associating_commands.rb', line 33

def validate_options
  super
  validator.any(:option_repository_id, :option_repository_name).required
end