Skip to content

A platform for community discussion. Free, open, simple.

254 B
Raw Blame
# frozen_string_literal: true

module DiscourseAutomation
  class UserGlobalNoticeSerializer < ApplicationSerializer
    attributes :id, :notice, :level, :created_at, :updated_at, :identifier

    def level
      object.level || "info"
    end
  end
end