debian-mirror-gitlab/lib/api/entities/broadcast_message.rb
2020-04-08 18:37:08 +05:30

10 lines
265 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, :dismissable
expose :active?, as: :active
end
end
end