class Fog::Compute::Glesys::SshKey
Public Instance Methods
destroy()
click to toggle source
# File lib/fog/glesys/models/compute/ssh_key.rb, line 19 def destroy requires :id service.ssh_key_remove(:sshkeyids => id) true end
save()
click to toggle source
# File lib/fog/glesys/models/compute/ssh_key.rb, line 10 def save requires :description, :data merge_attributes(service.ssh_key_add(:description => description, :sshkey => data ).body["response"]["sshkey"]) true end