method
upload
v6.0.0 -
Show latest stable
- Class:
ActiveStorage::Service::MirrorService
upload(key, io, checksum: nil, **options)public
Upload the io to the key specified to all services. If a checksum is provided, all services will ensure a match when the upload has completed or raise an ActiveStorage::IntegrityError.