diff options
Diffstat (limited to 'app/serializers/issuable_entity.rb')
-rw-r--r-- | app/serializers/issuable_entity.rb | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/app/serializers/issuable_entity.rb b/app/serializers/issuable_entity.rb new file mode 100644 index 00000000000..29aecb50849 --- /dev/null +++ b/app/serializers/issuable_entity.rb @@ -0,0 +1,20 @@ +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 + expose :time_estimate + expose :total_time_spent + expose :human_time_estimate + expose :human_total_time_spent +end |