Sha256: 3dee3ca1c7b16898466aed7c02a9771b010a0524feab7b2bca778001c61c7448
Contents?: true
Size: 294 Bytes
Versions: 7
Compression:
Stored size: 294 Bytes
Contents
module Uploader module ChunkedUploads extend ActiveSupport::Concern protected def with_chunked_upload(file_or_part) uploader = UploadRequest.new(env, file_or_part) return unless uploader.completed? yield uploader.file uploader.cleanup end end end
Version data entries
7 entries across 7 versions & 1 rubygems