Module: HammerCLIForeman::Image::ComputeResourceOptions

Included in:
CreateCommand, DeleteCommand, InfoCommand, ListCommand, UpdateCommand
Defined in:
lib/hammer_cli_foreman/image.rb

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object



13
14
15
16
17
18
19
# File 'lib/hammer_cli_foreman/image.rb', line 13

def self.included(base)
  base.build_options

  base.validate_options do
    any(:option_compute_resource_id, :option_compute_resource_name).required
  end
end