# File lib/hammer_cli_katello/repository_scoped_to_product.rb, line 5 def self.included(base) base.validate_options do any(:option_product_name, :option_product_id).required if option(:option_name).exist? end end