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:
parent
a5e5d102a3
commit
10841af9d2
2 changed files with 3 additions and 3 deletions
|
@ -5,7 +5,7 @@ module Fog
|
||||||
#
|
#
|
||||||
# Delete a SSH public key from your account
|
# 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)
|
def destroy_ssh_key(id)
|
||||||
request(
|
request(
|
||||||
|
|
|
@ -6,7 +6,7 @@ module Fog
|
||||||
# This method shows a specific public SSH key in your account
|
# This method shows a specific public SSH key in your account
|
||||||
# that can be added to a droplet.
|
# 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)
|
def get_ssh_key(id)
|
||||||
request(
|
request(
|
||||||
|
@ -24,7 +24,7 @@ module Fog
|
||||||
response.body = {
|
response.body = {
|
||||||
"status" => "OK",
|
"status" => "OK",
|
||||||
# key listing does not return ssh_pub_key
|
# 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 }
|
"ssh_key" => self.data[:ssh_keys].find { |k| k['id'] == id }
|
||||||
}
|
}
|
||||||
response
|
response
|
||||||
|
|
Loading…
Reference in a new issue