lib/bubbles/uploaders/s3.rb in bubbles-0.0.2 vs lib/bubbles/uploaders/s3.rb in bubbles-0.0.3
- old
+ new
@@ -4,10 +4,10 @@
extend Forwardable
include Bubbles::CommonUploaderInterface
def call
File.open(uid_file, 'rb') do |file|
- s3.put_object(bucket: s3_bucket, key: s3_full_path, body: file)
+ s3.put_object(bucket: s3_bucket, key: s3_full_path, body: file, acl: config.s3_acl)
end
rescue => e
config.logger.error("#{e.message}")
command_queue.reschedule(self)
end