debian-mirror-gitlab/lib/api/entities/broadcast_message.rb
2022-05-07 20:08:51 +05:30

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