lib/carrierwave/storage/aliyun_file.rb in carrierwave-aliyun-0.7.0 vs lib/carrierwave/storage/aliyun_file.rb in carrierwave-aliyun-0.7.1
- old
+ new
@@ -10,10 +10,10 @@
end
def read
object = bucket.get(@path)
@headers = object.headers
- object.body
+ object
end
def delete
bucket.delete(@path)
true