Method: SwiftClient#post_container

Defined in:
lib/swift_client.rb

#post_container(container_name, headers = {}, options = {}) ⇒ Object

Raises:



82
83
84
85
86
# File 'lib/swift_client.rb', line 82

def post_container(container_name, headers = {}, options = {})
  raise(EmptyNameError) if container_name.empty?

  request :post, "/#{container_name}", options.merge(:headers => headers)
end