# File lib/fog/softlayer/requests/storage/put_container.rb, line 21 def put_container(name, public=false) opts = { :expects => [201, 202], :method => 'PUT', :path => Fog::Softlayer.escape(name), } opts[:headers] = { 'X-Container-Read' => '.r:*' } if public request(opts) end