1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00

Incorporated feedback from @mikhailov

This commit is contained in:
Evan Light 2014-02-26 15:16:57 -05:00
parent f4d60fded5
commit 9e10396ca4

View file

@ -269,6 +269,13 @@ To retrieve a specific directory:
service.directories.get "blue" service.directories.get "blue"
**Note** As a general rule, only use `get` when you want to iterate over the contents of a `Directory`
This call is similar to...
service.directories.new :key => "blue"
... except the `get` method makes an HTTP call that returns metadata for up to the first 10,000 files. **This can be slow!**
This returns a `Fog::Storage::Rackspace::Directory` instance: This returns a `Fog::Storage::Rackspace::Directory` instance:
@ -279,8 +286,6 @@ This returns a `Fog::Storage::Rackspace::Directory` instance:
cdn_cname=nil cdn_cname=nil
> >
**Note**: This will retrieve the metadata for up to the first 10,000 files in the directory. This can be slow!
## Create Directory ## Create Directory
To create a directory: To create a directory: