README.md in fog-dtdream-0.0.7 vs README.md in fog-dtdream-0.0.8

- old
+ new

@@ -1,9 +1,7 @@ # Fog::Dtdream -Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/fog/dtdream`. To experiment with that code, run `bin/console` for an interactive prompt. - ## Installation Add this line to your application's Gemfile: ```ruby @@ -173,31 +171,31 @@ ## List Directories To retrieve a list of directories: ```ruby -conn.directories +dirs = conn.directories ``` This returns a collection of `Fog::Storage::Dtdream::Directory` models: ## Get Directory To retrieve a specific directory: ```ruby -conn.directories.get "dir" +dir = dirs.get "dir" ``` This returns a `Fog::Storage::Dtdream::Directory` instance: ## Create Directory To create a directory: ```ruby -conn.directories.create :key => 'backups' +dirs.create :key => 'backups' ``` ## Delete Directory To delete a directory: @@ -235,31 +233,9 @@ file = directory.files.create :key => 'space.jpg', :body => File.open "space.jpg" ``` **Note**: For files larger than 5 GB please refer to the [Upload Large Files](#upload_large_files) section. -### Additional Parameters - -The `create` method also supports the following key values: - -<table> -<tr> -<th>Key</th> -<th>Description</th> -</tr> -<tr> -<td>:content_type</td> -<td>The content type of the object. Cloud Files will attempt to auto detect this value if omitted.</td> -</tr> -<tr> -<td>:origin</td> -<td>The origin is the URI of the object's host.</td> -</tr> -<tr> -<td>:etag</td> -<td>The MD5 checksum of your object's data. If specified, Cloud Files will validate the integrity of the uploaded object.</td> -</tr> -</table> ## Upload Large Files OSS requires files larger than 5 GB (the OSS default limit) to be uploaded into segments along with an accompanying manifest file. All of the segments must be uploaded to the same container.