Sha256: aa84636aa027977a7093f2406b6b4e51eb7cbbad0419c2741dcee4d9cc81b39f
Contents?: true
Size: 758 Bytes
Versions: 34
Compression:
Stored size: 758 Bytes
Contents
module Actions module Katello module ContentViewVersion class AutoCreateProducts < Actions::Base def plan(organization:, metadata:) helper = ::Katello::Pulp3::ContentViewVersion::ImportableProducts. new(organization: organization, metadata: metadata) helper.generate! concurrence do helper.creatable.each do |product| plan_action(::Actions::Katello::Product::Create, product[:product], organization) end helper.updatable.each do |product| plan_action(::Actions::Katello::Product::Update, product[:product], product[:options]) end end end end end end end
Version data entries
34 entries across 34 versions & 1 rubygems