method

upload_with_single_part

upload_with_single_part(key, io, checksum: nil, content_type: nil, content_disposition: nil)
private

No documentation available.

# File activestorage/lib/active_storage/service/s3_service.rb, line 113
      def upload_with_single_part(key, io, checksum: nil, content_type: nil, content_disposition: nil)
        object_for(key).put(body: io, content_md5: checksum, content_type: content_type, content_disposition: content_disposition, **upload_options)
      rescue Aws::S3::Errors::BadDigest
        raise ActiveStorage::IntegrityError
      end