Class: Actions::Katello::Repository::IndexPackageGroups
- Inherits:
-
EntryAction
- Object
- EntryAction
- Actions::Katello::Repository::IndexPackageGroups
- Defined in:
- app/lib/actions/katello/repository/index_package_groups.rb
Instance Method Summary collapse
Instance Method Details
#plan(repository) ⇒ Object
7 8 9 |
# File 'app/lib/actions/katello/repository/index_package_groups.rb', line 7 def plan(repository) plan_self(:user_id => ::User.current.id, :id => repository.id) end |
#run ⇒ Object
11 12 13 14 |
# File 'app/lib/actions/katello/repository/index_package_groups.rb', line 11 def run repo = ::Katello::Repository.find(input[:id]) repo.index_db_package_groups end |