Fog::Model
# File lib/fog/digitalocean/models/compute/ssh_key.rb, line 18 def destroy requires :id service.destroy_ssh_key id true end
# File lib/fog/digitalocean/models/compute/ssh_key.rb, line 11 def save requires :name, :ssh_pub_key merge_attributes(service.create_ssh_key(name, ssh_pub_key).body['ssh_key']) true end
[Validate]
Generated with the Darkfish Rdoc Generator 2.