Extended users API to support updating and deleting users.
Also added tests.
This commit is contained in:
parent
f4a6f1fd5a
commit
e954438a1d
4 changed files with 138 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue