Method: Fog::KeyManager::OpenStack::Real#create_container

Defined in:
lib/fog/key_manager/openstack/requests/create_container.rb

#create_container(options) ⇒ Object



5
6
7
8
9
10
11
12
# File 'lib/fog/key_manager/openstack/requests/create_container.rb', line 5

def create_container(options)
  request(
    :body    => Fog::JSON.encode(options),
    :expects => [201],
    :method  => 'POST',
    :path    => 'containers'
  )
end