lib/uploadcare/client/multipart_upload_client.rb
# When every chunk is uploaded, ask Uploadcare server to finish the upload
When every chunk is uploaded, ask Uploadcare server to finish the upload
When every chunk is uploaded ask Uploadcare server to finish the upload
def upload_complete(uuid)
        body = HTTP::FormData::Multipart.new(
          {
            UPLOADCARE_PUB_KEY: Uploadcare.config.public_key,
            uuid: uuid
          }
        )
        post(path: 'multipart/complete/', body: body, headers: { 'Content-Type': body.content_type })
      end
def upload_complete ( uuid ) body = HTTP :: FormData :: Multipart . new ( { UPLOADCARE_PUB_KEY : Uploadcare . config . public_key , uuid : uuid } ) post ( path : 'multipart/complete/' , body : body , headers : { 'Content-Type' : body . content_type } ) end
When every chunk is uploaded, ask Uploadcare server to finish the upload
When every chunk is uploaded ask Uploadcare server to finish the upload
uuid