Sha256: 9f8061455ca044a6da11cc9493c4307872f2077b09e5fbcd2ce7c08edd52c3a1

Contents?: true

Size: 391 Bytes

Versions: 37

Compression:

Stored size: 391 Bytes

Contents

module Actions
  module Candlepin
    module Product
      class ContentAdd < Candlepin::Abstract
        input_format do
          param :product_id
          param :content_id
        end

        def run
          output[:response] = ::Katello::Resources::Candlepin::Product.
              add_content(input[:product_id], input[:content_id], true)
        end
      end
    end
  end
end

Version data entries

37 entries across 37 versions & 1 rubygems

Version Path
katello-3.3.2 app/lib/actions/candlepin/product/content_add.rb
katello-3.3.1.1 app/lib/actions/candlepin/product/content_add.rb
katello-3.3.1 app/lib/actions/candlepin/product/content_add.rb
katello-3.3.0.1 app/lib/actions/candlepin/product/content_add.rb
katello-3.3.0 app/lib/actions/candlepin/product/content_add.rb
katello-3.3.0.rc2 app/lib/actions/candlepin/product/content_add.rb
katello-3.3.0.rc1.1 app/lib/actions/candlepin/product/content_add.rb
katello-3.3.0.rc1 app/lib/actions/candlepin/product/content_add.rb
katello-3.2.1.1 app/lib/actions/candlepin/product/content_add.rb
katello-3.2.1 app/lib/actions/candlepin/product/content_add.rb
katello-3.2.0 app/lib/actions/candlepin/product/content_add.rb
katello-3.2.0.rc3 app/lib/actions/candlepin/product/content_add.rb
katello-3.2.0.rc2 app/lib/actions/candlepin/product/content_add.rb
katello-3.2.0.rc1.1 app/lib/actions/candlepin/product/content_add.rb
katello-3.2.0.rc1 app/lib/actions/candlepin/product/content_add.rb
katello-3.1.0.1 app/lib/actions/candlepin/product/content_add.rb
katello-3.1.0 app/lib/actions/candlepin/product/content_add.rb
katello-3.1.0.rc2.1 app/lib/actions/candlepin/product/content_add.rb
katello-3.0.2 app/lib/actions/candlepin/product/content_add.rb
katello-2.4.5 app/lib/actions/candlepin/product/content_add.rb