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-4.2.0.rc1 app/services/katello/ui_notifications/content_view/auto_publish_failure.rb
katello-4.0.2.1 app/services/katello/ui_notifications/content_view/auto_publish_failure.rb
katello-4.1.2.1 app/services/katello/ui_notifications/content_view/auto_publish_failure.rb
katello-4.0.2 app/services/katello/ui_notifications/content_view/auto_publish_failure.rb
katello-4.1.2 app/services/katello/ui_notifications/content_view/auto_publish_failure.rb
katello-3.18.4 app/services/katello/ui_notifications/content_view/auto_publish_failure.rb
katello-4.1.1 app/services/katello/ui_notifications/content_view/auto_publish_failure.rb
katello-4.1.0 app/services/katello/ui_notifications/content_view/auto_publish_failure.rb
katello-4.0.1.2 app/services/katello/ui_notifications/content_view/auto_publish_failure.rb
katello-3.18.3.1 app/services/katello/ui_notifications/content_view/auto_publish_failure.rb
katello-4.1.0.rc2.2 app/services/katello/ui_notifications/content_view/auto_publish_failure.rb
katello-4.1.0.rc2.1 app/services/katello/ui_notifications/content_view/auto_publish_failure.rb
katello-4.0.1.1 app/services/katello/ui_notifications/content_view/auto_publish_failure.rb
katello-3.18.3 app/services/katello/ui_notifications/content_view/auto_publish_failure.rb
katello-4.1.0.rc2 app/services/katello/ui_notifications/content_view/auto_publish_failure.rb
katello-4.0.1 app/services/katello/ui_notifications/content_view/auto_publish_failure.rb
katello-4.1.0.rc1.1 app/services/katello/ui_notifications/content_view/auto_publish_failure.rb
katello-4.1.0.rc1 app/services/katello/ui_notifications/content_view/auto_publish_failure.rb
katello-4.0.0 app/services/katello/ui_notifications/content_view/auto_publish_failure.rb
katello-4.0.0.rc3.1 app/services/katello/ui_notifications/content_view/auto_publish_failure.rb