debian-mirror-gitlab/lib/api/entities/broadcast_message.rb

11 lines
288 B
Ruby
Raw Normal View History

2020-03-13 15:44:24 +05:30
# frozen_string_literal: true
module API
module Entities
class BroadcastMessage < Grape::Entity
2022-05-07 20:08:51 +05:30
expose :id, :message, :starts_at, :ends_at, :color, :font, :target_access_levels, :target_path, :broadcast_type, :dismissable
2020-03-13 15:44:24 +05:30
expose :active?, as: :active
end
end
end