method
upload
v5.2.3 -
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.