class Github::Users::Keys
def update(*args)
"key": "ssh-rsa AAA..."
github.users.keys.update '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(*args) arguments(args, :required => [:key_id]) do sift VALID_KEY_PARAM_NAMES end patch_request("/user/keys/#{key_id}", arguments.params) end