summaryrefslogtreecommitdiff
path: root/app/serializers/label_entity.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/serializers/label_entity.rb')
-rw-r--r--app/serializers/label_entity.rb11
1 files changed, 11 insertions, 0 deletions
diff --git a/app/serializers/label_entity.rb b/app/serializers/label_entity.rb
new file mode 100644
index 00000000000..304fd9de08f
--- /dev/null
+++ b/app/serializers/label_entity.rb
@@ -0,0 +1,11 @@
+class LabelEntity < Grape::Entity
+ expose :id
+ expose :title
+ expose :color
+ expose :description
+ expose :group_id
+ expose :project_id
+ expose :template
+ expose :created_at
+ expose :updated_at
+end