# File lib/deltacloud/drivers/mock/mock_driver.rb, line 357 def blobs(credentials, opts = nil) check_credentials(credentials) blobs=[] Dir[ "#{@storage_root}/buckets/blobs/*.yml" ].each do |blob_file| blob = YAML.load( File.read( blob_file ) ) blob[:id] = File.basename( blob_file, ".yml" ) blob[:name] = blob[:id] blobs << Blob.new( blob ) end blobs = filter_on( blobs, :id, opts ) blobs end