class Fog::Compute::Gridscale::Sshkeys
Public Instance Methods
all(filters={})
click to toggle source
# File lib/fog/compute/gridscale/models/sshkeys.rb, line 9 def all(filters={}) data = service.sshkeys_get(filters) sshkeys = data.body["sshkeys"].values load(sshkeys) end
get(sshkey_uuid)
click to toggle source
# File lib/fog/compute/gridscale/models/sshkeys.rb, line 15 def get(sshkey_uuid) sshkey = service.sshkey_get(sshkey_uuid).body['sshkey'] new(sshkey) if sshkey rescue Fog::Errors::NotFound nil end