lib/fog/openstack/models/storage/directories.rb in fog-maestrodev-1.19.0.20140212012611 vs lib/fog/openstack/models/storage/directories.rb in fog-maestrodev-1.20.0.20140305101305
- old
+ new
@@ -22,9 +22,10 @@
directory.merge_attributes(key => value)
end
end
directory.files.merge_attributes(options)
directory.files.instance_variable_set(:@loaded, true)
+
data.body.each do |file|
directory.files << directory.files.new(file)
end
directory
rescue Fog::Storage::OpenStack::NotFound