Sha256: c088d3d8fadaa12c292ab932715a089ae5ef854193165449c1f800c696999d03
Contents?: true
Size: 558 Bytes
Versions: 67
Compression:
Stored size: 558 Bytes
Contents
module Actions module Katello module SyncPlan class Update < Actions::EntryAction def plan(sync_plan, sync_plan_params = nil) action_subject(sync_plan) sync_plan.update_attributes(sync_plan_params) if sync_plan_params sync_plan.save! sync_plan.products.each do |product| plan_action(::Actions::Katello::Product::Update, product, :sync_plan_id => sync_plan.id) end end def humanized_name _("Update Sync Plan") end end end end end
Version data entries
67 entries across 67 versions & 1 rubygems