| HeaderOptions | = | %w{ Content-Type Access-Control-Allow-Origin Origin Content-Disposition Etag Content-Encoding }.freeze |
Access or create account-wide metadata.
@return [Hash<String,String>] A metadata hash pre-populated with
a (fake) temp URL key.
Create and add a new, empty MockContainer with the given name. An existing container with the same name will be replaced.
@param cname [String] The (unescaped) container name. @return [MockContainer] The container that was added.
Access a MockContainer with the specified name, if one exists.
@param cname [String] The (unescaped) container name. @return [MockContainer, nil] The named MockContainer, or `nil` if
none exist.
Access a MockContainer with the specified name, raising a {Fog::Storage::Rackspace::NotFound} exception if none exist.
@param cname [String] The (unescaped) container name. @throws [Fog::Storage::Rackspace::NotFound] If no container with the
given name exists.
@return [MockContainer] The existing MockContainer.
Remove a MockContainer with the specified name. No-op if the container does not exist.
@param cname [String] The (unescaped) container name.