Sha256: 7233c045b625824791f8ecf691292188a2be68f872aaabdd80663d458bc6a92a

Contents?: true

Size: 558 Bytes

Versions: 21

Compression:

Stored size: 558 Bytes

Contents

module Fog
  module Brightbox
    class Storage
      class Real
        # Delete an existing object
        #
        # ==== Parameters
        # * container<~String> - Name of container to delete
        # * object<~String> - Name of object to delete
        #
        def delete_object(container, object)
          request(
            :expects  => 204,
            :method   => "DELETE",
            :path     => "#{Fog::Brightbox::Storage.escape(container)}/#{Fog::Brightbox::Storage.escape(object)}"
          )
        end
      end
    end
  end
end

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
fog-brightbox-1.10.0 lib/fog/brightbox/requests/storage/delete_object.rb
fog-brightbox-1.9.1 lib/fog/brightbox/requests/storage/delete_object.rb
fog-brightbox-1.9.0 lib/fog/brightbox/requests/storage/delete_object.rb
fog-brightbox-1.8.2 lib/fog/brightbox/requests/storage/delete_object.rb
fog-brightbox-1.8.1 lib/fog/brightbox/requests/storage/delete_object.rb
fog-brightbox-1.8.0 lib/fog/brightbox/requests/storage/delete_object.rb
fog-brightbox-1.7.3 lib/fog/brightbox/requests/storage/delete_object.rb
fog-brightbox-1.7.2 lib/fog/brightbox/requests/storage/delete_object.rb
fog-brightbox-1.7.1 lib/fog/brightbox/requests/storage/delete_object.rb
fog-brightbox-1.7.0 lib/fog/brightbox/requests/storage/delete_object.rb
fog-brightbox-1.6.0 lib/fog/brightbox/requests/storage/delete_object.rb
fog-brightbox-1.5.0 lib/fog/brightbox/requests/storage/delete_object.rb
fog-brightbox-1.5.0.rc1 lib/fog/brightbox/requests/storage/delete_object.rb
fog-brightbox-1.4.2 lib/fog/brightbox/requests/storage/delete_object.rb
fog-brightbox-1.4.1 lib/fog/brightbox/requests/storage/delete_object.rb
fog-brightbox-1.4.0 lib/fog/brightbox/requests/storage/delete_object.rb
fog-brightbox-1.3.0 lib/fog/brightbox/requests/storage/delete_object.rb
fog-brightbox-1.2.0 lib/fog/brightbox/requests/storage/delete_object.rb
fog-brightbox-1.1.0 lib/fog/brightbox/requests/storage/delete_object.rb
fog-brightbox-1.0.0 lib/fog/brightbox/requests/storage/delete_object.rb