Class: HammerCLIKatello::ContentView::CVEnvParamsSource
- Inherits:
-
HammerCLI::Options::Sources::Base
- Object
- HammerCLI::Options::Sources::Base
- HammerCLIKatello::ContentView::CVEnvParamsSource
- Defined in:
- lib/hammer_cli_katello/content_view.rb
Instance Method Summary collapse
- #get_options(_defined_options, result) ⇒ Object
-
#initialize(command) ⇒ CVEnvParamsSource
constructor
A new instance of CVEnvParamsSource.
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 (, result) result['option_content_view_id'] = @command.option_id result['option_lifecycle_environment_names'] = result['option_environment_names'] result end |