API docs updated

This commit is contained in:
Alex Denisov 2013-03-18 21:06:24 +00:00
parent 28e7d1a8bf
commit a15fe61fb0
3 changed files with 17 additions and 2 deletions

View file

@ -13,7 +13,7 @@ module Gitlab
expose :id, :username, :email, :name, :state, :created_at
end
class UserLogin < UserBasic
class UserLogin < User
expose :private_token
expose :is_admin?, as: :is_admin
expose :can_create_group?, as: :can_create_group