1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00

change docs

This commit is contained in:
Danny Garcia 2013-01-08 00:57:29 -05:00
parent b1b0bc7a03
commit 963abcbdd6

View file

@ -5,7 +5,6 @@ module Fog
require 'fog/aws/parsers/storage/copy_object'
#
# Copy an object from one S3 bucket to another
#
# @param source_bucket_name [String] Name of source bucket
@ -29,7 +28,6 @@ module Fog
#
# @see http://docs.amazonwebservices.com/AmazonS3/latest/API/RESTObjectCOPY.html
#
def copy_object(source_bucket_name, source_object_name, target_bucket_name, target_object_name, options = {})
headers = { 'x-amz-copy-source' => "/#{source_bucket_name}/#{CGI.escape(source_object_name)}" }.merge!(options)
request({