Sha256: 66ac226e4622919ea5377f4dc4c74fc3719c8ea92865a86d588c64d5dccc640b
Contents?: true
Size: 919 Bytes
Versions: 39
Compression:
Stored size: 919 Bytes
Contents
module Actions module Candlepin module Product class ContentUpdate < Candlepin::Abstract input_format do param :content_id param :name param :type param :arches 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], arches: input[:arches], label: input[:label], metadataExpire: 1, vendor: ::Katello::Provider::CUSTOM) end end end end end
Version data entries
39 entries across 39 versions & 1 rubygems