lib/fog/hp/requests/storage/put_container.rb in fog-1.22.0 vs lib/fog/hp/requests/storage/put_container.rb in fog-1.22.1
- old
+ new
@@ -1,10 +1,9 @@
module Fog
module Storage
class HP
class Real
-
# Create a new container
#
# ==== Parameters
# * name<~String> - Name for container, should be < 256 bytes and must not contain '/'
#
@@ -15,11 +14,10 @@
:method => 'PUT',
:path => Fog::HP.escape(name)
)
response
end
-
end
class Mock # :nodoc:all
def put_container(container_name, options = {})
read_h = options['X-Container-Read'] || ''
@@ -40,9 +38,8 @@
self.data[:containers][container_name] = container
end
response
end
end
-
end
end
end