Sha256: cb4f0ad1e3e7a8d161f2be02266a5a1899f0b85cb109f382ed35a80763a21236
Contents?: true
Size: 485 Bytes
Versions: 19
Compression:
Stored size: 485 Bytes
Contents
module Katello module Agent class UpdatePackageMessage < BaseMessage def initialize(content:, consumer_id:) @packages = content @consumer_id = consumer_id @content_type = 'rpm' @method = 'update' end protected def units @packages.map do |package| { type_id: @content_type, unit_key: { name: package } } end end end end end
Version data entries
19 entries across 19 versions & 1 rubygems