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