Sha256: 411a9d9a95a9085d7d0205afc3245ce1fcf4be9dfcae9e3aa7b2d26ab88593bf
Contents?: true
Size: 850 Bytes
Versions: 9
Compression:
Stored size: 850 Bytes
Contents
module Actions module Candlepin module Product class ContentUpdate < Candlepin::Abstract input_format do param :content_id param :name param :type param :label param :content_url param :gpg_key_url param :owner end def run output[:response] = ::Katello::Resources::Candlepin::Content. update(input[:owner], id: input[:content_id], name: input[:name], contentUrl: input[:content_url], gpgUrl: input[:gpg_key_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