module Github::Users::Keys
def update_key(key_id, params={})
"key" => "ssh-rsa AAA..."
@github.users.update_key 'key-id', "title" => "octocat@octomac",
@github = Github.new :oauth_token => '...'
= Examples
* :key - Required string. sha key
* :title - Required string
= Inputs
Update a public key for the authenticated user
def update_key(key_id, params={}) _validate_presence_of key_id _normalize_params_keys(params) _filter_params_keys(VALID_KEY_PARAM_NAMES, params) patch("/user/keys/#{key_id}", params) end