class Fog::Compute::SakuraCloud::SshKeys

Public Instance Methods

all() click to toggle source
# File lib/fog/sakuracloud/models/compute/ssh_keys.rb, line 10
def all
  load service.list_ssh_keys.body['SSHKeys']
end
get(id) click to toggle source
# File lib/fog/sakuracloud/models/compute/ssh_keys.rb, line 14
def get(id)
  all.find { |f| f.id == id }
rescue Fog::Errors::NotFound
  nil
end