mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
change docs
This commit is contained in:
parent
b1b0bc7a03
commit
963abcbdd6
1 changed files with 0 additions and 2 deletions
|
@ -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({
|
||||
|
|
Loading…
Add table
Reference in a new issue