instance method
download_chunk
Ruby on Rails 7.1.6
Since v7.0.10Signature
download_chunk(range)
Downloads a part of the file associated with this blob.
Parameters
-
rangereq
Source
# File activestorage/app/models/active_storage/blob.rb, line 272
def download_chunk(range)
service.download_chunk key, range
end
Defined in activestorage/app/models/active_storage/blob.rb line 272
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveStorage::Blob