Method: Fog::Storage::Softlayer::Mock#put_container
- Defined in:
- lib/fog/softlayer/requests/storage/put_container.rb
#put_container(name, public = false) ⇒ Object
5 6 7 8 9 10 11 |
# File 'lib/fog/softlayer/requests/storage/put_container.rb', line 5 def put_container(name, public=false) @containers[name] = {} unless @containers[name] response = Excon::Response.new response.body = '' response.status = 201 response end |