Sha256: 4c9343b0e72bad7dee0990ff81bc708dbc36fdb7c4af575a41907a0aa9ed52ce
Contents?: true
Size: 698 Bytes
Versions: 9
Compression:
Stored size: 698 Bytes
Contents
module Actions module Candlepin module Product class ContentCreate < Candlepin::Abstract input_format do param :name param :type param :label param :content_url param :owner end def run output[:response] = ::Katello::Resources::Candlepin::Content. create(input[:owner], name: input[:name], contentUrl: input[:content_url], type: input[:type], label: input[:label], metadataExpire: 1, vendor: ::Katello::Provider::CUSTOM) end end end end end
Version data entries
9 entries across 9 versions & 1 rubygems