diff options
author | Douwe Maan <douwe@gitlab.com> | 2015-02-07 16:41:30 +0100 |
---|---|---|
committer | Douwe Maan <douwe@gitlab.com> | 2015-02-07 16:41:30 +0100 |
commit | 42422dcc6aab156cc3e89c75c7ed2a71c715b169 (patch) | |
tree | ba40c6393df7847df942b9041effe14e6a91d060 /lib/api/entities.rb | |
parent | d3c2253c6d464cdf8fd39a06ac66c26cd73d393e (diff) | |
download | gitlab-ce-42422dcc6aab156cc3e89c75c7ed2a71c715b169.tar.gz |
Add internal broadcast message API.
Diffstat (limited to 'lib/api/entities.rb')
-rw-r--r-- | lib/api/entities.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/api/entities.rb b/lib/api/entities.rb index fa76a54c2d8..8d0664386b4 100644 --- a/lib/api/entities.rb +++ b/lib/api/entities.rb @@ -270,5 +270,9 @@ module API class Contributor < Grape::Entity expose :name, :email, :commits, :additions, :deletions end + + class BroadcastMessage < Grape::Entity + expose :message, :starts_at, :ends_at, :color, :font + end end end |