diff options
author | Ábner Silva de Oliveira <abner.silva@gmail.com> | 2014-03-21 06:18:19 -0300 |
---|---|---|
committer | Ábner Silva de Oliveira <abner.silva@gmail.com> | 2014-03-21 06:25:25 -0300 |
commit | 44aa6b90ddde3a7babc6ed9f50d73040d6184789 (patch) | |
tree | 1f1107a5b6c1535f5e2635c88d95a4f4b5a7cbe6 /lib/api/entities.rb | |
parent | fb919a631c16f0046c5599a9e9e9fa38ff4a699a (diff) | |
download | gitlab-ce-44aa6b90ddde3a7babc6ed9f50d73040d6184789.tar.gz |
added api method to return labels of a given project
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 8b4519af2d1..9fa8506926c 100644 --- a/lib/api/entities.rb +++ b/lib/api/entities.rb @@ -187,5 +187,9 @@ module API end end end + + class Label < Grape::Entity + expose :name + end end end |