class Fog::Compute::Ecloud::SshKeys
Public Instance Methods
all()
click to toggle source
# File lib/fog/ecloud/models/compute/ssh_keys.rb, line 11 def all data = service.get_ssh_keys(href).body[:SshKey] load(data) end
get(uri)
click to toggle source
# File lib/fog/ecloud/models/compute/ssh_keys.rb, line 16 def get(uri) if data = service.get_ssh_key(uri) new(data.body) end rescue Fog::Errors::NotFound nil end