Skip to content

Commit

Permalink
[digitalocean|compute] added ssh related requests, model and collection
Browse files Browse the repository at this point in the history
Added new requests and model/collection to the compute service

- get_ssh_key
- destroy_ssh_key
- ssh key model/collection
  • Loading branch information
rubiojr committed Mar 31, 2013
1 parent db487f9 commit 7cc9fde
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/fog/digitalocean/compute.rb
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ class DigitalOcean < Fog::Service
collection :images
model :region
collection :regions
model :ssh_key
collection :ssh_keys

request_path 'fog/digitalocean/requests/compute'
request :list_servers
Expand All @@ -35,6 +37,8 @@ class DigitalOcean < Fog::Service
request :shutdown_server
request :list_ssh_keys
request :create_ssh_key
request :get_ssh_key
request :destroy_ssh_key

# request :digitalocean_resize

Expand Down

0 comments on commit 7cc9fde

Please sign in to comment.