Class: HammerCLIKatello::ContentViewVersion::PromoteCommand
- Inherits:
-
SingleResourceCommand
- Object
- HammerCLIForeman::SingleResourceCommand
- SingleResourceCommand
- HammerCLIKatello::ContentViewVersion::PromoteCommand
- Includes:
- HammerCLIForemanTasks::Async, LifecycleEnvironmentNameMapping
- Defined in:
- lib/hammer_cli_katello/content_view_version.rb
Instance Method Summary collapse
Methods included from LifecycleEnvironmentNameMapping
Methods included from ResolverCommons
Instance Method Details
#environment_search_options ⇒ Object
151 152 153 154 155 156 157 158 159 |
# File 'lib/hammer_cli_katello/content_view_version.rb', line 151 def { "option_id" => ["option_to_environment_id"], "option_name" => ["option_to_environment_name"], "option_organization_id" => ["option_organization_id"], "option_organization_name" => ["option_organization_name"], "option_organization_label" => ["option_organization_label"] } end |
#request_params ⇒ Object
161 162 163 164 165 166 |
# File 'lib/hammer_cli_katello/content_view_version.rb', line 161 def request_params params = super params['environment_ids'] = [resolver.lifecycle_environment_id()] params['force'] = option_force? params end |