summaryrefslogtreecommitdiff
path: root/lib/api/entities/ssh_signature.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/api/entities/ssh_signature.rb')
-rw-r--r--lib/api/entities/ssh_signature.rb10
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/api/entities/ssh_signature.rb b/lib/api/entities/ssh_signature.rb
new file mode 100644
index 00000000000..dc3800c87c5
--- /dev/null
+++ b/lib/api/entities/ssh_signature.rb
@@ -0,0 +1,10 @@
+# frozen_string_literal: true
+
+module API
+ module Entities
+ class SshSignature < Grape::Entity
+ expose :verification_status, documentation: { type: 'string', example: 'unverified' }
+ expose :key, using: 'API::Entities::SSHKey'
+ end
+ end
+end