API:merge request show && list

This commit is contained in:
Valeriy Sizov 2012-10-21 14:00:27 +03:00
parent 42abdf69d5
commit bd049e5e7c
3 changed files with 38 additions and 0 deletions

View file

@ -63,5 +63,11 @@ module Gitlab
class SSHKey < Grape::Entity
expose :id, :title, :key
end
class MergeRequest < Grape::Entity
expose :id, :target_branch, :source_branch, :project_id,
:title, :closed, :merged
expose :author, :assignee, using: Entities::UserBasic
end
end
end