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

[docs::aws::storage] requests minor tweaks to keep docs all the same

This commit is contained in:
Weston Platter 2013-01-10 22:31:38 -06:00
parent e99030c6b5
commit 8f0fde42f9
2 changed files with 1 additions and 6 deletions

View file

@ -3,7 +3,6 @@ module Fog
class AWS
class Real
#
# Get headers for an object from S3
#
# @param bucket_name [String] Name of bucket to read from
@ -26,8 +25,6 @@ module Fog
#
# @see http://docs.amazonwebservices.com/AmazonS3/latest/API/RESTObjectHEAD.html
#
def head_object(bucket_name, object_name, options={})
unless bucket_name
raise ArgumentError.new('bucket_name is required')

View file

@ -5,7 +5,6 @@ module Fog
require 'fog/aws/parsers/storage/initiate_multipart_upload'
#
# Initiate a multipart upload to an S3 bucket
#
# @param bucket_name [String] Name of bucket to create object in
@ -27,7 +26,6 @@ module Fog
#
# @see http://docs.amazonwebservices.com/AmazonS3/latest/API/mpUploadInitiate.html
#
def initiate_multipart_upload(bucket_name, object_name, options = {})
request({
:expects => 200,
@ -43,4 +41,4 @@ module Fog
end # Real
end # Storage
end # AWS
end # Fog
end # Fog