Sha256: 052b1b2664bfea70b754693b0b2a8d2171b4dd99ca8f742349e1f8616d5be2b1
Contents?: true
Size: 499 Bytes
Versions: 4
Compression:
Stored size: 499 Bytes
Contents
module Fog module Compute class Ecloud class Real basic_request :get_detached_disk end class Mock def get_detached_disk(uri) detached_disk_id = id_from_uri(uri) detached_disk = self.data[:detached_disks][detached_disk_id] if detached_disk response(:body => Fog::Ecloud.slice(detached_disk, :id, :compute_pool_id)) else response(:status => 404) # ? end end end end end end
Version data entries
4 entries across 4 versions & 2 rubygems