class Fog::Compute::Ecloud::DetachedDisks
Public Instance Methods
all()
click to toggle source
# File lib/fog/compute/ecloud/models/detached_disks.rb, line 11 def all data = service.get_detached_disks(href).body[:DetachedDisk] data = [] if data.nil? load(data) end
get(uri)
click to toggle source
# File lib/fog/compute/ecloud/models/detached_disks.rb, line 17 def get(uri) data = service.get_detached_disk(uri).body new(data) rescue ServiceError => e raise e unless e.status_code == 404 nil end