Sha256: dec4f898848469e2450ccbdc5e44ec6c42fc27a4fa28b95a820daafbfe8b1b4a
Contents?: true
Size: 639 Bytes
Versions: 37
Compression:
Stored size: 639 Bytes
Contents
module Actions module Candlepin module Product class ContentCreate < Candlepin::Abstract input_format do param :name param :type param :label param :content_url end 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 end end end end
Version data entries
37 entries across 37 versions & 1 rubygems