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.cr

Instance Method Summary

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)

[View source]