method

upload

upload(key, io, checksum: nil, **options)
public

Upload the io to the key specified. If a checksum is provided, the service will ensure a match when the upload has completed or raise an ActiveStorage::IntegrityError.