lib/fog/storage/models/rackspace/directory.rb in fog-0.6.0 vs lib/fog/storage/models/rackspace/directory.rb in fog-0.7.0
- old
+ new
@@ -13,10 +13,10 @@
attribute :count, :aliases => 'X-Container-Object-Count'
def destroy
requires :key
connection.delete_container(key)
- connection.cdn.put_container(key, 'X-CDN-Enabled' => 'False')
+ connection.cdn.post_container(key, 'X-CDN-Enabled' => 'False')
true
rescue Excon::Errors::NotFound
false
end