Sha256: 4e1f2be2850c8e772d4f7f4295041f9c847551531220558b4cc5bf240d7afd97

Contents?: true

Size: 535 Bytes

Versions: 189

Compression:

Stored size: 535 Bytes

Contents

module Katello
  module UINotifications
    module ContentView
      class AutoPublishFailure < ::UINotifications::Base
        private

        def create
          Notification.create!(
            subject: subject,
            initiator: initiator,
            audience: ::Notification::AUDIENCE_ADMIN,
            notification_blueprint: blueprint
          )
        end

        def blueprint
          @blueprint ||= NotificationBlueprint.find_by(name: 'content_view_auto_publish_error')
        end
      end
    end
  end
end

Version data entries

189 entries across 189 versions & 1 rubygems

Version Path
katello-3.15.0 app/services/katello/ui_notifications/content_view/auto_publish_failure.rb
katello-3.15.0.rc2 app/services/katello/ui_notifications/content_view/auto_publish_failure.rb
katello-3.15.0.rc1.3 app/services/katello/ui_notifications/content_view/auto_publish_failure.rb
katello-3.15.0.rc1.2 app/services/katello/ui_notifications/content_view/auto_publish_failure.rb
katello-3.15.0.rc1.1 app/services/katello/ui_notifications/content_view/auto_publish_failure.rb
katello-3.15.0.rc1 app/services/katello/ui_notifications/content_view/auto_publish_failure.rb
katello-3.14.1 app/services/katello/ui_notifications/content_view/auto_publish_failure.rb
katello-3.13.4 app/services/katello/ui_notifications/content_view/auto_publish_failure.rb
katello-3.14.0 app/services/katello/ui_notifications/content_view/auto_publish_failure.rb
katello-3.13.3 app/services/katello/ui_notifications/content_view/auto_publish_failure.rb
katello-3.14.0.rc2 app/services/katello/ui_notifications/content_view/auto_publish_failure.rb
katello-3.13.2 app/services/katello/ui_notifications/content_view/auto_publish_failure.rb
katello-3.14.0.rc1 app/services/katello/ui_notifications/content_view/auto_publish_failure.rb
katello-3.13.1 app/services/katello/ui_notifications/content_view/auto_publish_failure.rb
katello-3.13.0 app/services/katello/ui_notifications/content_view/auto_publish_failure.rb
katello-3.13.0.rc2.1 app/services/katello/ui_notifications/content_view/auto_publish_failure.rb
katello-3.13.0.rc2 app/services/katello/ui_notifications/content_view/auto_publish_failure.rb
katello-3.12.3 app/services/katello/ui_notifications/content_view/auto_publish_failure.rb
katello-3.12.2 app/services/katello/ui_notifications/content_view/auto_publish_failure.rb
katello-3.13.0.rc1 app/services/katello/ui_notifications/content_view/auto_publish_failure.rb