class ActiveStorage::Service::S3Service
def initialize(bucket:, upload: {}, **options)
def initialize(bucket:, upload: {}, **options) @client = Aws::S3::Resource.new(**options) @bucket = @client.bucket(bucket) @upload_options = upload end
def initialize(bucket:, upload: {}, **options) @client = Aws::S3::Resource.new(**options) @bucket = @client.bucket(bucket) @upload_options = upload end