Class: Actions::Katello::Host::PackageGroup::Remove
- Inherits:
-
EntryAction
- Object
- EntryAction
- Actions::Katello::Host::PackageGroup::Remove
- Includes:
- Helpers::Presenter
- Defined in:
- app/lib/actions/katello/host/package_group/remove.rb
Instance Method Summary collapse
Instance Method Details
#humanized_input ⇒ Object
20 21 22 |
# File 'app/lib/actions/katello/host/package_group/remove.rb', line 20 def humanized_input [input[:groups].join(', ')] + super end |
#humanized_name ⇒ Object
16 17 18 |
# File 'app/lib/actions/katello/host/package_group/remove.rb', line 16 def humanized_name _("Remove package group") end |
#plan(host, groups) ⇒ Object
8 9 10 11 12 13 14 |
# File 'app/lib/actions/katello/host/package_group/remove.rb', line 8 def plan(host, groups) action_subject(host, :groups => groups) plan_action(Pulp::Consumer::ContentUninstall, consumer_uuid: host.content_facet.uuid, type: 'package_group', args: groups) end |