Sha256: ddb8334b1d91b21518d777a60ffcac67445775357463c4068af5d07c61733d67

Contents?: true

Size: 466 Bytes

Versions: 43

Compression:

Stored size: 466 Bytes

Contents

module Fog
  module Storage
    class Rackspace
      class Real

        # Create a new container
        #
        # ==== Parameters
        # * name<~String> - Name for container, should be < 256 bytes and must not contain '/'
        #
        def put_container(name)
          request(
            :expects  => [201, 202],
            :method   => 'PUT',
            :path     => Fog::Rackspace.escape(name)
          )
        end

      end
    end
  end
end

Version data entries

43 entries across 43 versions & 14 rubygems

Version Path
fog-nirvanix-1.8.2 lib/fog/rackspace/requests/storage/put_container.rb
fog-nirvanix-1.8.1 lib/fog/rackspace/requests/storage/put_container.rb
fog-parser-fix-1.6.1 lib/fog/rackspace/requests/storage/put_container.rb
fog-test-again-1.6.0 lib/fog/rackspace/requests/storage/put_container.rb
fog-parser-fix-1.6.0 lib/fog/rackspace/requests/storage/put_container.rb
fog-1.9.0 lib/fog/rackspace/requests/storage/put_container.rb
fog-maestrodev-1.8.0.20130114204828 lib/fog/rackspace/requests/storage/put_container.rb
fog-maestrodev-1.8.0.20130111070250 lib/fog/rackspace/requests/storage/put_container.rb
fog-maestrodev-1.8.0.20130109172219 lib/fog/rackspace/requests/storage/put_container.rb
ey-vendored-backup-3.0.27 vendor/gems/fog/lib/fog/rackspace/requests/storage/put_container.rb
fog-sgonyea-1.8.1 lib/fog/rackspace/requests/storage/put_container.rb
fog-1.8.0 lib/fog/rackspace/requests/storage/put_container.rb
fog-maestrodev-1.7.0.20121114190951 lib/fog/rackspace/requests/storage/put_container.rb
fog-1.7.0 lib/fog/rackspace/requests/storage/put_container.rb
fog-1.6.0 lib/fog/rackspace/requests/storage/put_container.rb
fog-1.5.0 lib/fog/rackspace/requests/storage/put_container.rb
rackspace-fog-1.4.2 lib/rackspace-fog/rackspace/requests/storage/put_container.rb
fog-1.4.0 lib/fog/rackspace/requests/storage/put_container.rb
brightbox-cli-0.18.1 lib/brightbox-cli/vendor/fog/lib/fog/rackspace/requests/storage/put_container.rb
michiels-fog-1.3.1 lib/fog/rackspace/requests/storage/put_container.rb