Sha256: 920540cebbc7c7a5b5216419b20ca7d94f96d23e291b0b1bf3b0ef28d2e79c8c

Contents?: true

Size: 571 Bytes

Versions: 38

Compression:

Stored size: 571 Bytes

Contents

module Fog
  module Rackspace
    module Files
      class Real

        # Delete an existing container
        #
        # ==== Parameters
        # * name<~String> - Name of container to delete
        #
        def delete_container(name)
          response = storage_request(
            :expects  => 204,
            :method   => 'DELETE',
            :path     => CGI.escape(name)
          )
          response
        end

      end

      class Mock

        def delete_container(name)
          Fog::Mock.not_implemented
        end

      end
    end
  end
end

Version data entries

38 entries across 38 versions & 2 rubygems

Version Path
fog-0.2.30 lib/fog/rackspace/requests/files/delete_container.rb
fog-0.2.28 lib/fog/rackspace/requests/files/delete_container.rb
fog-0.2.27 lib/fog/rackspace/requests/files/delete_container.rb
fog-0.2.26 lib/fog/rackspace/requests/files/delete_container.rb
fog-0.2.25 lib/fog/rackspace/requests/files/delete_container.rb
fog-0.2.24 lib/fog/rackspace/requests/files/delete_container.rb
tecnh-fog-0.2.23.vpc lib/fog/rackspace/requests/files/delete_container.rb
fog-0.2.23 lib/fog/rackspace/requests/files/delete_container.rb
fog-0.2.22 lib/fog/rackspace/requests/files/delete_container.rb
fog-0.2.21 lib/fog/rackspace/requests/files/delete_container.rb
fog-0.2.20 lib/fog/rackspace/requests/files/delete_container.rb
fog-0.2.19 lib/fog/rackspace/requests/files/delete_container.rb
fog-0.2.18 lib/fog/rackspace/requests/files/delete_container.rb
fog-0.2.17 lib/fog/rackspace/requests/files/delete_container.rb
fog-0.2.16 lib/fog/rackspace/requests/files/delete_container.rb
fog-0.2.15 lib/fog/rackspace/requests/files/delete_container.rb
fog-0.2.14 lib/fog/rackspace/requests/files/delete_container.rb
fog-0.2.13 lib/fog/rackspace/requests/files/delete_container.rb
fog-0.2.12 lib/fog/rackspace/requests/files/delete_container.rb
fog-0.2.11 lib/fog/rackspace/requests/files/delete_container.rb