1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00
fog--fog/lib/fog/cloudsigma/requests/delete_snapshot.rb
zephyrean 0eea58de12 [CloudSigma] add snapshots (#3491)
* [CloudSigma] add snapshots
2016-08-12 10:26:17 -03:00

17 lines
318 B
Ruby

module Fog
module Compute
class CloudSigma
class Real
def delete_snapshot(snap_id)
delete_request("snapshots/#{snap_id}/")
end
end
class Mock
def delete_snapshot(snap_id)
mock_delete(:snapshots, 204, snap_id)
end
end
end
end
end