Sha256: 0f6ac4a65607d648f2779cb3b0ae4575cfb4fda945f798cb91d73336bd716b0f
Contents?: true
Size: 589 Bytes
Versions: 191
Compression:
Stored size: 589 Bytes
Contents
module Katello module UINotifications class AbstractNotification < ::UINotifications::Base protected def create Notification.create!( subject: subject, initiator: initiator, audience: audience, notification_blueprint: blueprint, actions: actions ) end def audience ::Notification::AUDIENCE_SUBJECT end def actions [] end def blueprint fail(Foreman::Exception, "must define blueprint in #{self.class} successors") end end end end
Version data entries
191 entries across 191 versions & 1 rubygems