Class: Actions::Katello::Organization::EnvironmentContentsRefresh
- Inherits:
-
AbstractAsyncTask
- Object
- EntryAction
- AbstractAsyncTask
- Actions::Katello::Organization::EnvironmentContentsRefresh
- Defined in:
- app/lib/actions/katello/organization/environment_contents_refresh.rb
Instance Method Summary collapse
Methods inherited from AbstractAsyncTask
#humanized_output, #rescue_strategy
Instance Method Details
#plan(organization) ⇒ Object
7 8 9 10 11 12 13 14 15 16 |
# File 'app/lib/actions/katello/organization/environment_contents_refresh.rb', line 7 def plan(organization) organization.content_view_environments.each do |cve| plan_action( Actions::Candlepin::Environment::SetContent, cve.content_view, cve.owner, cve ) end end |