Class: HammerCLIKatello::ContentView::RemoveCommand
- Inherits:
-
SingleResourceCommand
- Object
- HammerCLIForeman::SingleResourceCommand
- SingleResourceCommand
- HammerCLIKatello::ContentView::RemoveCommand
- Includes:
- HammerCLIForemanTasks::Async, LifecycleEnvironmentNameMapping, OrganizationOptions
- Defined in:
- lib/hammer_cli_katello/content_view.rb
Instance Method Summary collapse
Methods included from LifecycleEnvironmentNameMapping
Methods included from OrganizationOptions
Methods included from ResolverCommons
Instance Method Details
#option_sources ⇒ Object
298 299 300 301 302 303 304 305 306 |
# File 'lib/hammer_cli_katello/content_view.rb', line 298 def option_sources sources = super sources.find_by_name('IdResolution').insert_relative( :after, 'IdParams', CVEnvParamsSource.new(self) ) sources end |
#request_params ⇒ Object
308 309 310 311 312 313 314 |
# File 'lib/hammer_cli_katello/content_view.rb', line 308 def request_params super.tap do |opts| %w(content_view_version_ids environment_ids).each do |key| opts[key] = opts[key].split(",") if opts[key] && opts[key].respond_to?(:split) end end end |