1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00

Update links to DigitalOcean SSH-key docs

This commit is contained in:
Matthew Breeden 2014-06-19 07:25:26 -07:00
parent a5e5d102a3
commit 10841af9d2
2 changed files with 3 additions and 3 deletions

View file

@ -5,7 +5,7 @@ module Fog
#
# Delete a SSH public key from your account
#
# @see https://www.digitalocean.com/api#ssh_keys
# @see https://www.developers.digitalocean.com/ssh-keys
#
def destroy_ssh_key(id)
request(

View file

@ -6,7 +6,7 @@ module Fog
# This method shows a specific public SSH key in your account
# that can be added to a droplet.
#
# @see https://www.digitalocean.com/api#ssh_keys
# @see https://www.developers.digitalocean.com/ssh-keys
#
def get_ssh_key(id)
request(
@ -24,7 +24,7 @@ module Fog
response.body = {
"status" => "OK",
# key listing does not return ssh_pub_key
# https://www.digitalocean.com/api#ssh_keys
# https://www.developers.digitalocean.com/ssh-keys
"ssh_key" => self.data[:ssh_keys].find { |k| k['id'] == id }
}
response