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

11 lines
265 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
2020-04-08 14:13:33 +05:30
expose :id, :message, :starts_at, :ends_at, :color, :font, :target_path, :broadcast_type, :dismissable
2020-03-13 15:44:24 +05:30
expose :active?, as: :active
end
end
end