mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
Oops. Missed a couple of deletions of CDN stuff.
This commit is contained in:
parent
f01eda43d1
commit
6b34020230
1 changed files with 0 additions and 17 deletions
|
@ -230,12 +230,6 @@ To create a directory:
|
|||
service.directories.create :key => 'backups'
|
||||
```
|
||||
|
||||
To create a directory utilizing CDN:
|
||||
|
||||
```ruby
|
||||
service.directories.create :key => 'web-assets', :public => true
|
||||
```
|
||||
|
||||
### Additional Parameters
|
||||
|
||||
The `create` method also supports the following key values:
|
||||
|
@ -252,17 +246,6 @@ The `create` method also supports the following key values:
|
|||
</table>
|
||||
|
||||
|
||||
## Update Directory
|
||||
|
||||
Cloud Files supports updating the `public` attribute to enable/disable CDN.
|
||||
|
||||
To update this attribute:
|
||||
|
||||
```ruby
|
||||
directory.public = false
|
||||
directory.save
|
||||
```
|
||||
|
||||
## Delete Directory
|
||||
|
||||
To delete a directory:
|
||||
|
|
Loading…
Add table
Reference in a new issue