Sha256: 22e5aca82546ce6af1473c461364080daf8ab19554e3d5e8d15ae6b9a6b206f7
Contents?: true
Size: 370 Bytes
Versions: 10
Compression:
Stored size: 370 Bytes
Contents
module Katello module Events class ImportHostErrata EVENT_TYPE = 'import_host_errata'.freeze def initialize(object_id) @host = ::Host.find_by_id(object_id) fail "Host not found for ID #{object_id}" if @host.nil? end def run @host.content_facet.try(:import_applicability, true) if @host end end end end
Version data entries
10 entries across 10 versions & 1 rubygems