From 8f0fde42f9875b70106c41a84c1a90cad8aed98c Mon Sep 17 00:00:00 2001 From: Weston Platter Date: Thu, 10 Jan 2013 22:31:38 -0600 Subject: [PATCH] [docs::aws::storage] requests minor tweaks to keep docs all the same --- lib/fog/aws/requests/storage/head_object.rb | 3 --- lib/fog/aws/requests/storage/initiate_multipart_upload.rb | 4 +--- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/lib/fog/aws/requests/storage/head_object.rb b/lib/fog/aws/requests/storage/head_object.rb index a67194017..87648b0c0 100644 --- a/lib/fog/aws/requests/storage/head_object.rb +++ b/lib/fog/aws/requests/storage/head_object.rb @@ -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') diff --git a/lib/fog/aws/requests/storage/initiate_multipart_upload.rb b/lib/fog/aws/requests/storage/initiate_multipart_upload.rb index a570ef95a..80579750c 100644 --- a/lib/fog/aws/requests/storage/initiate_multipart_upload.rb +++ b/lib/fog/aws/requests/storage/initiate_multipart_upload.rb @@ -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 \ No newline at end of file +end # Fog