Sha256: 082c25277a135e369516ba1e942c1db1cb0c434b33dd8719e7b70179a3cec54f

Contents?: true

Size: 600 Bytes

Versions: 37

Compression:

Stored size: 600 Bytes

Contents

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

        def run
          output[:response] = ::Katello::Resources::Candlepin::Product.create(:name => input[:name],
                                                                              :multiplier => input[:multiplier],
                                                                              :attributes => input[:attributes])
        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/create.rb
katello-3.3.1.1 app/lib/actions/candlepin/product/create.rb
katello-3.3.1 app/lib/actions/candlepin/product/create.rb
katello-3.3.0.1 app/lib/actions/candlepin/product/create.rb
katello-3.3.0 app/lib/actions/candlepin/product/create.rb
katello-3.3.0.rc2 app/lib/actions/candlepin/product/create.rb
katello-3.3.0.rc1.1 app/lib/actions/candlepin/product/create.rb
katello-3.3.0.rc1 app/lib/actions/candlepin/product/create.rb
katello-3.2.1.1 app/lib/actions/candlepin/product/create.rb
katello-3.2.1 app/lib/actions/candlepin/product/create.rb
katello-3.2.0 app/lib/actions/candlepin/product/create.rb
katello-3.2.0.rc3 app/lib/actions/candlepin/product/create.rb
katello-3.2.0.rc2 app/lib/actions/candlepin/product/create.rb
katello-3.2.0.rc1.1 app/lib/actions/candlepin/product/create.rb
katello-3.2.0.rc1 app/lib/actions/candlepin/product/create.rb
katello-3.1.0.1 app/lib/actions/candlepin/product/create.rb
katello-3.1.0 app/lib/actions/candlepin/product/create.rb
katello-3.1.0.rc2.1 app/lib/actions/candlepin/product/create.rb
katello-3.0.2 app/lib/actions/candlepin/product/create.rb
katello-2.4.5 app/lib/actions/candlepin/product/create.rb