Extended users API to support updating and deleting users.

Also added tests.
This commit is contained in:
Boyan Tabakov 2012-12-18 21:24:31 +02:00
parent f4a6f1fd5a
commit e954438a1d
4 changed files with 138 additions and 2 deletions

View file

@ -2,7 +2,7 @@ module Gitlab
module Entities
class User < Grape::Entity
expose :id, :username, :email, :name, :bio, :skype, :linkedin, :twitter,
:dark_scheme, :theme_id, :blocked, :created_at
:dark_scheme, :theme_id, :blocked, :created_at, :extern_uid, :provider
end
class UserBasic < Grape::Entity