summaryrefslogtreecommitdiff
path: root/app/serializers/issuable_entity.rb
diff options
context:
space:
mode:
authorRuben Davila <rdavila84@gmail.com>2016-11-18 21:19:04 -0500
committerRuben Davila <rdavila84@gmail.com>2016-11-18 21:19:04 -0500
commit452d1d0824f44664484c35a2acc7c008c8167196 (patch)
tree4fc0203967136f3a3f1d93fd42ae565f3afffc0a /app/serializers/issuable_entity.rb
parentaea8baed3093c513560e9ac5ac0c5c99508d3001 (diff)
downloadgitlab-ce-452d1d0824f44664484c35a2acc7c008c8167196.tar.gz
Backport some changes done from Time Tracking feature in EE.ee-870-backport
Diffstat (limited to 'app/serializers/issuable_entity.rb')
-rw-r--r--app/serializers/issuable_entity.rb16
1 files changed, 16 insertions, 0 deletions
diff --git a/app/serializers/issuable_entity.rb b/app/serializers/issuable_entity.rb
new file mode 100644
index 00000000000..17c9160cb19
--- /dev/null
+++ b/app/serializers/issuable_entity.rb
@@ -0,0 +1,16 @@
+class IssuableEntity < Grape::Entity
+ expose :id
+ expose :iid
+ expose :assignee_id
+ expose :author_id
+ expose :description
+ expose :lock_version
+ expose :milestone_id
+ expose :position
+ expose :state
+ expose :title
+ expose :updated_by_id
+ expose :created_at
+ expose :updated_at
+ expose :deleted_at
+end