Sha256: 9e81cf65d03e2320bb7e0f1d14f61f4e0fd4e799203f74bd1c8b5d2ab17b7d35

Contents?: true

Size: 497 Bytes

Versions: 21

Compression:

Stored size: 497 Bytes

Contents

module Fog
  module Storage
    class Atmos
      class Real
        def head_namespace(namespace = '', options = {})
          options = options.reject {|key, value| value.nil?}
          request({
                    :expects  => 200,
                    :method   => 'HEAD',
                    :path     => "namespace/" + URI.escape(namespace),
                    :query    => {},
                    :parse => true
                  }.merge(options))
        end
      end
    end
  end
end

Version data entries

21 entries across 19 versions & 6 rubygems

Version Path
vagrant-packet-0.1.1 vendor/bundle/ruby/2.3.0/gems/fog-atmos-0.1.0/lib/fog/storage/atmos/requests/head_namespace.rb
vagrant-packet-0.1.1 vendor/bundle/ruby/2.4.0/gems/fog-atmos-0.1.0/lib/fog/storage/atmos/requests/head_namespace.rb
vagrant-packet-0.1.1 vendor/bundle/ruby/2.5.0/gems/fog-atmos-0.1.0/lib/fog/storage/atmos/requests/head_namespace.rb
vagrant-cloudstack-1.2.0 vendor/bundle/gems/fog-atmos-0.1.0/lib/fog/storage/atmos/requests/head_namespace.rb
vagrant-cloudstack-1.1.0 vendor/bundle/gems/fog-1.22.1/lib/fog/atmos/requests/storage/head_namespace.rb
fog-atmos-0.1.0 lib/fog/storage/atmos/requests/head_namespace.rb
fog-atmos-0.0.1 lib/fog/storage/atmos/requests/head_namespace.rb
fog-1.25.0 lib/fog/atmos/requests/storage/head_namespace.rb
nsidc-fog-1.24.1 lib/fog/atmos/requests/storage/head_namespace.rb
fog-1.24.0 lib/fog/atmos/requests/storage/head_namespace.rb
ns-fog-1.22.11 lib/fog/atmos/requests/storage/head_namespace.rb
ns-fog-1.22.10 lib/fog/atmos/requests/storage/head_namespace.rb
ns-fog-1.22.9 lib/fog/atmos/requests/storage/head_namespace.rb
ns-fog-1.22.8 lib/fog/atmos/requests/storage/head_namespace.rb
ns-fog-1.22.7 lib/fog/atmos/requests/storage/head_namespace.rb
ns-fog-1.22.6 lib/fog/atmos/requests/storage/head_namespace.rb
fog-1.23.0 lib/fog/atmos/requests/storage/head_namespace.rb
ns-fog-1.22.4 lib/fog/atmos/requests/storage/head_namespace.rb
ns-fog-1.22.3 lib/fog/atmos/requests/storage/head_namespace.rb
ns-fog-1.22.2 lib/fog/atmos/requests/storage/head_namespace.rb