lib/uploadcare/client/multipart_upload_client.rb
def upload(object, store: false, &block)
        response = upload_start(object, store: store)
        return response unless response.success[:parts] && response.success[:uuid]

        links = response.success[:parts]
        uuid = response.success[:uuid]
        ChunksClient.upload_chunks(object, links, &block)
        upload_complete(uuid)
      end
# Upload a big file by splitting it into parts and sending those parts into assigned buckets
# object should be File
Upload a big file by splitting it into parts and sending those parts into assigned buckets
object should be File
Upload a big file by splitting it into parts and sending those parts into assigned buckets object should be File
def upload(object, store: false, &block)
        response = upload_start(object, store: store)
        return response unless response.success[:parts] && response.success[:uuid]
        links = response.success[:parts]
        uuid = response.success[:uuid]
        ChunksClient.upload_chunks(object, links, &block)
        upload_complete(uuid)
      end
def upload ( object , store : false , & block ) response = upload_start ( object , store : store ) return response unless response . success [ :parts ] && response . success [ :uuid ] links = response . success [ :parts ] uuid = response . success [ :uuid ] ChunksClient . upload_chunks ( object , links , & block ) upload_complete ( uuid ) end
Upload a big file by splitting it into parts and sending those parts into assigned buckets
object should be File
Upload a big file by splitting it into parts and sending those parts into assigned buckets object should be File
object
store
block