summaryrefslogtreecommitdiff
path: root/lib/api/entities/broadcast_message.rb
blob: 403677aa3002a265f26c9613b31bf347831229ce (plain)
1
2
3
4
5
6
7
8
9
10
# frozen_string_literal: true

module API
  module Entities
    class BroadcastMessage < Grape::Entity
      expose :id, :message, :starts_at, :ends_at, :color, :font, :target_path, :broadcast_type
      expose :active?, as: :active
    end
  end
end