mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
Destroying drives is easy.
This commit is contained in:
parent
02db287340
commit
d4863eb29d
1 changed files with 13 additions and 0 deletions
13
lib/fog/serverlove/requests/compute/destroy_drive.rb
Normal file
13
lib/fog/serverlove/requests/compute/destroy_drive.rb
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
module Fog
|
||||||
|
module Compute
|
||||||
|
class Serverlove
|
||||||
|
class Real
|
||||||
|
|
||||||
|
def destroy_drive(drive_id)
|
||||||
|
request(:method => "post", :path => "/drives/#{drive_id}/destroy", :expects => 204)
|
||||||
|
end
|
||||||
|
|
||||||
|
end
|
||||||
|
end
|
||||||
|
end
|
||||||
|
end
|
Loading…
Add table
Reference in a new issue