Sha256: d0baec361b0dcd69c9a64831dc6e7d617e6880dbcc0948511cd9e2f1c5cd1462

Contents?: true

Size: 755 Bytes

Versions: 203

Compression:

Stored size: 755 Bytes

Contents

module Actions
  module Candlepin
    module Product
      class Create < Candlepin::Abstract
        input_format do
          param :name, String
          param :id
          param :multiplier
          param :attributes
          param :owner
        end

        def run
          output[:response] = ::Katello::Resources::Candlepin::Product.create(input[:owner], :name => input[:name],
                                                                              :id => input[:id],
                                                                              :multiplier => input[:multiplier],
                                                                              :attributes => input[:attributes])
        end
      end
    end
  end
end

Version data entries

203 entries across 203 versions & 1 rubygems

Version Path
katello-4.14.3 app/lib/actions/candlepin/product/create.rb
katello-4.14.2 app/lib/actions/candlepin/product/create.rb
katello-4.15.0 app/lib/actions/candlepin/product/create.rb
katello-4.15.0.rc2 app/lib/actions/candlepin/product/create.rb
katello-4.15.0.rc1 app/lib/actions/candlepin/product/create.rb
katello-4.14.1 app/lib/actions/candlepin/product/create.rb
katello-4.14.0 app/lib/actions/candlepin/product/create.rb
katello-4.14.0.rc3 app/lib/actions/candlepin/product/create.rb
katello-4.14.0.rc2 app/lib/actions/candlepin/product/create.rb
katello-4.14.0.rc1.1 app/lib/actions/candlepin/product/create.rb
katello-4.14.0.rc1 app/lib/actions/candlepin/product/create.rb
katello-4.13.1 app/lib/actions/candlepin/product/create.rb
katello-4.13.0 app/lib/actions/candlepin/product/create.rb
katello-4.12.1 app/lib/actions/candlepin/product/create.rb
katello-4.13.0.rc1 app/lib/actions/candlepin/product/create.rb
katello-4.12.0 app/lib/actions/candlepin/product/create.rb
katello-4.12.0.rc3 app/lib/actions/candlepin/product/create.rb
katello-4.12.0.rc2 app/lib/actions/candlepin/product/create.rb
katello-4.12.0.rc1 app/lib/actions/candlepin/product/create.rb
katello-4.11.1 app/lib/actions/candlepin/product/create.rb