Class: HammerCLIKatello::ContentView::CVEnvParamsSource

Inherits:
HammerCLI::Options::Sources::Base
  • Object
show all
Defined in:
lib/hammer_cli_katello/content_view.rb

Instance Method Summary collapse

Constructor Details

#initialize(command) ⇒ CVEnvParamsSource

Returns a new instance of CVEnvParamsSource.



277
278
279
# File 'lib/hammer_cli_katello/content_view.rb', line 277

def initialize(command)
  @command = command
end

Instance Method Details

#get_options(_defined_options, result) ⇒ Object



281
282
283
284
285
# File 'lib/hammer_cli_katello/content_view.rb', line 281

def get_options(_defined_options, result)
  result['option_content_view_id'] = @command.option_id
  result['option_lifecycle_environment_names'] = result['option_environment_names']
  result
end