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