summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorAli Ibrahim <aliibrahim@gmail.com>2016-08-18 03:27:45 -0400
committerAli Ibrahim <aliibrahim@gmail.com>2016-08-18 03:27:45 -0400
commitfcc2c43ebb32c0e9a3ae636e66460b42cbae4d53 (patch)
treeec1e17342134ffc4e448286677afbc60bd303cea /lib
parent2b73aaa15ad9f651f51f8c71de461da6664a4fbb (diff)
downloadgitlab-ce-fcc2c43ebb32c0e9a3ae636e66460b42cbae4d53.tar.gz
Added can_push attribute to deploy keys and update docs for API
Diffstat (limited to 'lib')
-rw-r--r--lib/api/entities.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/api/entities.rb b/lib/api/entities.rb
index 055716ab1e3..5df65a2327d 100644
--- a/lib/api/entities.rb
+++ b/lib/api/entities.rb
@@ -234,7 +234,7 @@ module API
end
class SSHKey < Grape::Entity
- expose :id, :title, :key, :created_at
+ expose :id, :title, :key, :created_at, :can_push
end
class SSHKeyWithUser < SSHKey