module Gitlab::Client::Key
Overview
Defines methods related to key.
See http://docs.gitlab.com/ce/api/keys.html
Direct including types
Defined in:
gitlab/client/key.crInstance Method Summary
-
#key(key_id : Int32) : JSON::Any
Get SSH key in an authenticated user.
Instance Method Detail
def key(key_id : Int32) : JSON::Any
#
Get SSH key in an authenticated user.
- param [String] key_id The ID or ssh key.
- param [String] password The password of a user.
- return [JSON::Any] Information about logged in user.
client.key(2)