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
ftl-0.2.0 vendor/bundle/gems/fog-1.3.1/lib/fog/rackspace/requests/storage/put_container.rb
brightbox-cli-0.18.0 lib/brightbox-cli/vendor/fog/lib/fog/rackspace/requests/storage/put_container.rb
fog-1.3.1 lib/fog/rackspace/requests/storage/put_container.rb
fog-1.3.0 lib/fog/rackspace/requests/storage/put_container.rb
brightbox-cli-0.17.5 lib/brightbox-cli/vendor/fog/lib/fog/rackspace/requests/storage/put_container.rb
fog-1.2.0 lib/fog/rackspace/requests/storage/put_container.rb
ktheory-fog-1.1.2 lib/fog/rackspace/requests/storage/put_container.rb
brightbox-cli-0.17.4 lib/brightbox-cli/vendor/fog/lib/fog/rackspace/requests/storage/put_container.rb
brightbox-cli-0.17.3 lib/brightbox-cli/vendor/fog/lib/fog/rackspace/requests/storage/put_container.rb
brightbox-cli-0.17.2 lib/brightbox-cli/vendor/fog/lib/fog/rackspace/requests/storage/put_container.rb
brightbox-cli-0.17.1 lib/brightbox-cli/vendor/fog/lib/fog/rackspace/requests/storage/put_container.rb
brightbox-cli-0.17.0 lib/brightbox-cli/vendor/fog/lib/fog/rackspace/requests/storage/put_container.rb
fog-1.1.2 lib/fog/rackspace/requests/storage/put_container.rb
fog_tractical-1.1.4 lib/fog/rackspace/requests/storage/put_container.rb
fog_tractical-1.1.3 lib/fog/rackspace/requests/storage/put_container.rb
brightbox-cli-0.16.0 lib/brightbox-cli/vendor/fog/lib/fog/rackspace/requests/storage/put_container.rb
fog-1.1.1 lib/fog/rackspace/requests/storage/put_container.rb
fog-1.1.0 lib/fog/rackspace/requests/storage/put_container.rb
brightbox-cli-0.15.0 lib/brightbox-cli/vendor/fog/lib/fog/rackspace/requests/storage/put_container.rb
tag-fog-1.0.1 lib/fog/rackspace/requests/storage/put_container.rb