method

upload

Importance_1
v7.1.3.2 - Show latest stable - 0 notes - Class: MirrorService
upload(key, io, checksum: nil, **options) public

Upload the io to the key specified to all services. The upload to the primary service is done synchronously whereas the upload to the mirrors is done asynchronously. If a checksum is provided, all services will ensure a match when the upload has completed or raise an ActiveStorage::IntegrityError.

Show source
Register or log in to add new notes.