diff --git a/lib/fog/aws/models/s3/file.rb b/lib/fog/aws/models/s3/file.rb index 549657b46..674a4c44a 100644 --- a/lib/fog/aws/models/s3/file.rb +++ b/lib/fog/aws/models/s3/file.rb @@ -6,7 +6,7 @@ module Fog identity :key, 'Key' - attribute :body + attr_accessor :body attribute :content_length, 'Content-Length' attribute :content_type, 'Content-Type' attribute :etag, ['Etag', 'ETag'] diff --git a/lib/fog/rackspace/models/files/file.rb b/lib/fog/rackspace/models/files/file.rb index 1b6ace106..75a32585d 100644 --- a/lib/fog/rackspace/models/files/file.rb +++ b/lib/fog/rackspace/models/files/file.rb @@ -6,7 +6,7 @@ module Fog identity :key, 'Key' - attribute :body + attr_accessor :body attribute :content_length, 'Content-Length' attribute :content_type, 'Content-Type' attribute :etag, 'Etag'