Sha256: 9eac8c40b4846f31a2744883add1774b8990492c27661b7c1c3769301e3639c4
Contents?: true
Size: 481 Bytes
Versions: 27
Compression:
Stored size: 481 Bytes
Contents
module Actions module Candlepin module Owner class ImportProducts < Candlepin::Abstract input_format do param :organization_id end def run organization = ::Organization.find(input[:organization_id]) ::Katello::Product.without_auditing do User.as_anonymous_admin do organization.redhat_provider.import_products_from_cp end end end end end end end
Version data entries
27 entries across 27 versions & 1 rubygems