summaryrefslogtreecommitdiff
path: root/lib/api/entities.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/api/entities.rb')
-rw-r--r--lib/api/entities.rb8
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/api/entities.rb b/lib/api/entities.rb
new file mode 100644
index 00000000000..3548e8cc5a9
--- /dev/null
+++ b/lib/api/entities.rb
@@ -0,0 +1,8 @@
+module Gitlab
+ module Entities
+ class User < Grape::Entity
+ expose :id, :email, :name, :bio, :skype, :linkedin, :twitter,
+ :dark_scheme, :theme_id, :blocked, :created_at
+ end
+ end
+end