Sha256: 0b2e36aa7f373fe8b136e0ad1f3dcfb9b4ded08aa9a9339b76e2124d38aa1acc

Contents?: true

Size: 595 Bytes

Versions: 21

Compression:

Stored size: 595 Bytes

Contents

module Fog
  module Brightbox
    class Storage
      class Real
        # Get headers for object
        #
        # ==== Parameters
        # * container<~String> - Name of container to look in
        # * object<~String> - Name of object to look for
        #
        def head_object(container, object)
          request({
                    :expects  => 200,
                    :method   => "HEAD",
                    :path     => "#{Fog::Brightbox::Storage.escape(container)}/#{Fog::Brightbox::Storage.escape(object)}"
                  }, false)
        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/head_object.rb
fog-brightbox-1.9.1 lib/fog/brightbox/requests/storage/head_object.rb
fog-brightbox-1.9.0 lib/fog/brightbox/requests/storage/head_object.rb
fog-brightbox-1.8.2 lib/fog/brightbox/requests/storage/head_object.rb
fog-brightbox-1.8.1 lib/fog/brightbox/requests/storage/head_object.rb
fog-brightbox-1.8.0 lib/fog/brightbox/requests/storage/head_object.rb
fog-brightbox-1.7.3 lib/fog/brightbox/requests/storage/head_object.rb
fog-brightbox-1.7.2 lib/fog/brightbox/requests/storage/head_object.rb
fog-brightbox-1.7.1 lib/fog/brightbox/requests/storage/head_object.rb
fog-brightbox-1.7.0 lib/fog/brightbox/requests/storage/head_object.rb
fog-brightbox-1.6.0 lib/fog/brightbox/requests/storage/head_object.rb
fog-brightbox-1.5.0 lib/fog/brightbox/requests/storage/head_object.rb
fog-brightbox-1.5.0.rc1 lib/fog/brightbox/requests/storage/head_object.rb
fog-brightbox-1.4.2 lib/fog/brightbox/requests/storage/head_object.rb
fog-brightbox-1.4.1 lib/fog/brightbox/requests/storage/head_object.rb
fog-brightbox-1.4.0 lib/fog/brightbox/requests/storage/head_object.rb
fog-brightbox-1.3.0 lib/fog/brightbox/requests/storage/head_object.rb
fog-brightbox-1.2.0 lib/fog/brightbox/requests/storage/head_object.rb
fog-brightbox-1.1.0 lib/fog/brightbox/requests/storage/head_object.rb
fog-brightbox-1.0.0 lib/fog/brightbox/requests/storage/head_object.rb