Class: Actions::Candlepin::Product::ContentCreate
- Defined in:
- app/lib/actions/candlepin/product/content_create.rb
Instance Method Summary collapse
Instance Method Details
#run ⇒ Object
12 13 14 15 16 17 18 19 20 |
# File 'app/lib/actions/candlepin/product/content_create.rb', line 12 def run output[:response] = ::Katello::Resources::Candlepin::Content. create(name: input[:name], contentUrl: input[:content_url], type: input[:type], label: input[:label], metadataExpire: 1, vendor: ::Katello::Provider::CUSTOM) end |