Parent

Methods

Class/Module Index [+]

Quicksearch

Fog::Compute::DigitalOcean::SshKeys

Public Instance Methods

all() click to toggle source
# File lib/fog/digitalocean/models/compute/ssh_keys.rb, line 11
def all
  data = 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 16
def get(uri)
  data = service.get_ssh_key(uri).body['ssh_key']
  new(data)
rescue Fog::Errors::NotFound
  nil
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.