Sha256: af7e766229c47d50589d5ddbccdb9c66a3962011e247b14655a29edcca4c98b1

Contents?: true

Size: 412 Bytes

Versions: 7

Compression:

Stored size: 412 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])
          User.as_anonymous_admin do
            organization.redhat_provider.import_products_from_cp
          end
        end
      end
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
katello-3.5.2 app/lib/actions/candlepin/owner/import_products.rb
katello-3.6.0 app/lib/actions/candlepin/owner/import_products.rb
katello-3.6.0.1.rc2 app/lib/actions/candlepin/owner/import_products.rb
katello-3.6.0.rc2 app/lib/actions/candlepin/owner/import_products.rb
katello-3.6.0.rc1 app/lib/actions/candlepin/owner/import_products.rb
katello-3.5.1.1 app/lib/actions/candlepin/owner/import_products.rb
katello-3.4.5 app/lib/actions/candlepin/owner/import_products.rb