summaryrefslogtreecommitdiff
path: root/lib/api/entities/access_requester.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/api/entities/access_requester.rb')
-rw-r--r--lib/api/entities/access_requester.rb10
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/api/entities/access_requester.rb b/lib/api/entities/access_requester.rb
new file mode 100644
index 00000000000..951250225cc
--- /dev/null
+++ b/lib/api/entities/access_requester.rb
@@ -0,0 +1,10 @@
+# frozen_string_literal: true
+
+module API
+ module Entities
+ class AccessRequester < Grape::Entity
+ expose :user, merge: true, using: UserBasic
+ expose :requested_at
+ end
+ end
+end