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