Method: Fog::Storage::OpenStack::Directory#destroy

Defined in:
lib/fog/openstack/models/storage/directory.rb

#destroyObject



15
16
17
18
19
20
21
# File 'lib/fog/openstack/models/storage/directory.rb', line 15

def destroy
  requires :key
  service.delete_container(key)
  true
rescue Excon::Errors::NotFound
  false
end