Class: Actions::Katello::Repository::RefreshRepository
- Inherits:
-
Base
- Object
- Base
- Actions::Katello::Repository::RefreshRepository
- Defined in:
- app/lib/actions/katello/repository/refresh_repostiory.rb
Instance Method Summary collapse
Instance Method Details
#plan(repo) ⇒ Object
5 6 7 8 9 10 |
# File 'app/lib/actions/katello/repository/refresh_repostiory.rb', line 5 def plan(repo) User.as_anonymous_admin do repo = ::Katello::Repository.find(repo.id) plan_action(Pulp::Repository::Refresh, repo) end end |