gitlab-org--gitlab-foss/lib/api/entities/broadcast_message.rb

10 lines
288 B
Ruby

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