mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
0eea58de12
* [CloudSigma] add snapshots
17 lines
306 B
Ruby
17 lines
306 B
Ruby
module Fog
|
|
module Compute
|
|
class CloudSigma
|
|
class Real
|
|
def get_snapshot(snap_id)
|
|
get_request("snapshots/#{snap_id}/")
|
|
end
|
|
end
|
|
|
|
class Mock
|
|
def get_snapshot(snap_id)
|
|
mock_get(:snapshots, 200, snap_id)
|
|
end
|
|
end
|
|
end
|
|
end
|
|
end
|