lib/fog/rackspace/requests/storage/put_object_manifest.rb in fog-maestrodev-1.8.0.20130114204828 vs lib/fog/rackspace/requests/storage/put_object_manifest.rb in fog-maestrodev-1.14.0.20130806165225

- old
+ new

@@ -1,23 +1,14 @@ module Fog module Storage class Rackspace class Real - # Create a new object + # Create a new dynamic large object manifest # - # ==== Parameters - # * container<~String> - Name for container, should be < 256 bytes and must not contain '/' - # * object<~String> - Name for object - # - def put_object_manifest(container, object) - path = "#{Fog::Rackspace.escape(container)}/#{Fog::Rackspace.escape(object)}" - request( - :expects => 201, - :headers => {'X-Object-Manifest' => path}, - :method => 'PUT', - :path => path - ) + # This is an alias for {#put_dynamic_obj_manifest} for backward compatibility. + def put_object_manifest(container, object, options = {}) + put_dynamic_obj_manifest(container, object, options) end end end end