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.



230
231
232
# File 'lib/hammer_cli_katello/content_view.rb', line 230

def initialize(command)
  @command = command
end

Instance Method Details

#get_options(_defined_options, result) ⇒ Object



234
235
236
237
238
# File 'lib/hammer_cli_katello/content_view.rb', line 234

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