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 AWS
class Real class Real
#
# Get headers for an object from S3 # Get headers for an object from S3
# #
# @param bucket_name [String] Name of bucket to read from # @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 # @see http://docs.amazonwebservices.com/AmazonS3/latest/API/RESTObjectHEAD.html
# #
def head_object(bucket_name, object_name, options={}) def head_object(bucket_name, object_name, options={})
unless bucket_name unless bucket_name
raise ArgumentError.new('bucket_name is required') raise ArgumentError.new('bucket_name is required')

View file

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