Welcome to mirror list, hosted at ThFree Co, Russian Federation.

broadcast_message.rb « entities « api « lib - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 5a31d64fd868c5d3835bb8004b4b585d636e5ab0 (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_access_levels, :target_path, :broadcast_type, :dismissable
      expose :active?, as: :active
    end
  end
end