module Gitlab::Client::Keys
Defines methods related to keys. @see docs.gitlab.com/ce/api/keys.html
Public Instance Methods
key(id)
click to toggle source
Gets information about a key.
@example
Gitlab.key(1)
@param [Integer] id The ID of a key. @return [Gitlab::ObjectifiedHash]
# File lib/gitlab/client/keys.rb, line 14 def key(id) get("/keys/#{id}") end