Sha256: 5d3d1e663c009206213e9c3571f44264172bee2dc4deb284476bcd7747c7db0d
Contents?: true
Size: 661 Bytes
Versions: 13
Compression:
Stored size: 661 Bytes
Contents
module Fog module Compute class CloudSigma class Real def create_snapshot(data) create_request("snapshots/", data) end end class Mock def create_snapshot(data) uuid = self.class.random_uuid defaults = {'uuid' => uuid, 'timestamp' => Time.now.strftime("%Y-%m-%d %H:%M:%S.%6N%z"), 'status' => 'creating', 'tags' => [], 'grantees' => [], 'allocated_size' => 0 } mock_create(:snapshots, 201, data, uuid, defaults) end end end end end
Version data entries
13 entries across 11 versions & 3 rubygems