# File lib/fog/digitalocean/models/compute/ssh_keys.rb, line 11defalldata = service.list_ssh_keys.body['ssh_keys']
load(data)
end
get(uri)click to toggle source
# File lib/fog/digitalocean/models/compute/ssh_keys.rb, line 16defget(uri)
data = service.get_ssh_key(uri).body['ssh_key']
new(data)
rescueFog::Errors::NotFoundnilend