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

10 lines
251 B
Ruby

# 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