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

fix typos

This commit is contained in:
Wesley Beary 2009-09-04 17:25:41 -07:00
parent 711a9144c1
commit e3326e4261
2 changed files with 2 additions and 2 deletions

View file

@ -26,7 +26,7 @@ module Fog
end end
def location def location
data = s3.get_bucket_location(@name) data = connection.get_bucket_location(@name)
data.body['LocationConstraint'] data.body['LocationConstraint']
end end

View file

@ -51,7 +51,7 @@ module Fog
bucket.objects.merge_attributes(objects_data) bucket.objects.merge_attributes(objects_data)
data['Contents'].each do |object| data['Contents'].each do |object|
owner = Fog::AWS::S3::Owner.new(object.delete('Owner').merge!(:connection => connection)) owner = Fog::AWS::S3::Owner.new(object.delete('Owner').merge!(:connection => connection))
bucket.objects[object['key']] = Fog::AWS::S3::Object.new({ bucket.objects[object['Key']] = Fog::AWS::S3::Object.new({
:bucket => bucket, :bucket => bucket,
:connection => connection, :connection => connection,
:objects => self, :objects => self,