diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-06-06 19:19:17 +0300 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-06-06 19:19:17 +0300 |
commit | 8df699a336af347628f83274b1eb11255f353e9e (patch) | |
tree | 433ba3914ada3de0f903375b5900f644f0e5395f /lib/api/entities.rb | |
parent | 543506f3c59b3c7b8d6c67b69e28466cf3b45b3a (diff) | |
download | gitlab-ce-8df699a336af347628f83274b1eb11255f353e9e.tar.gz |
API: project events
Diffstat (limited to 'lib/api/entities.rb')
-rw-r--r-- | lib/api/entities.rb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/api/entities.rb b/lib/api/entities.rb index 8e815f2b25c..0d8cac5c8fd 100644 --- a/lib/api/entities.rb +++ b/lib/api/entities.rb @@ -120,5 +120,11 @@ module API expose :note expose :author, using: Entities::UserBasic end + + class Event < Grape::Entity + expose :title, :project_id, :action_name + expose :target_id, :target_type, :author_id + expose :data, :target_title + end end end |