Class: Actions::Candlepin::Product::Create
- Defined in:
- app/lib/actions/candlepin/product/create.rb
Instance Method Summary collapse
Instance Method Details
#run ⇒ Object
13 14 15 16 17 18 |
# File 'app/lib/actions/candlepin/product/create.rb', line 13 def run output[:response] = ::Katello::Resources::Candlepin::Product.create(input[:owner], :name => input[:name], :id => input[:id], :multiplier => input[:multiplier], :attributes => input[:attributes]) end |