class Aws::S3::FileUploader
def put_object(source, options)
def put_object(source, options) if (callback = options.delete(:progress_callback)) options[:on_chunk_sent] = single_part_progress(callback) end open_file(source) do |file| @client.put_object(options.merge(body: file)) end end