lib/fog/rackspace/requests/storage/put_object_manifest.rb in fog-1.10.1 vs lib/fog/rackspace/requests/storage/put_object_manifest.rb in fog-1.11.0
- old
+ new
@@ -6,13 +6,13 @@
# Create a new object
#
# ==== Parameters
# * container<~String> - Name for container, should be < 256 bytes and must not contain '/'
# * object<~String> - Name for object
- # @raise [Fog::Rackspace::Errors::NotFound] - HTTP 404
- # @raise [Fog::Rackspace::Errors::BadRequest] - HTTP 400
- # @raise [Fog::Rackspace::Errors::InternalServerError] - HTTP 500
- # @raise [Fog::Rackspace::Errors::ServiceError]
+ # @raise [Fog::Storage::Rackspace::NotFound] - HTTP 404
+ # @raise [Fog::Storage::Rackspace::BadRequest] - HTTP 400
+ # @raise [Fog::Storage::Rackspace::InternalServerError] - HTTP 500
+ # @raise [Fog::Storage::Rackspace::ServiceError]
def put_object_manifest(container, object)
path = "#{Fog::Rackspace.escape(container)}/#{Fog::Rackspace.escape(object)}"
request(
:expects => 201,
:headers => {'X-Object-Manifest' => path},