API: SSH keys belong to user entity

This commit is contained in:
Nihad Abbasov 2012-09-21 04:49:28 -07:00
parent 4a072be2d7
commit b62445813d
8 changed files with 195 additions and 212 deletions

View file

@ -60,8 +60,8 @@ module Gitlab
expose :closed, :updated_at, :created_at
end
class Key < Grape::Entity
expose :id, :title, :key
class SSHKey < Grape::Entity
expose :id, :title, :key
end
end
end