lib/uploadcare/client/multipart_upload_client.rb
def upload_start(object, store: false)
        body = HTTP::FormData::Multipart.new(
          Param::Upload::UploadParamsGenerator.call(store).merge(form_data_for(object))
        )
        post(path: 'multipart/start/',
             headers: { 'Content-Type': body.content_type },
             body: body)
      end
# Asks Uploadcare server to create a number of storage bin for uploads
Asks Uploadcare server to create a number of storage bin for uploads
Asks Uploadcare server to create a number of storage bin for uploads
def upload_start(object, store: false)
        body = HTTP::FormData::Multipart.new(
          Param::Upload::UploadParamsGenerator.call(store).merge(form_data_for(object))
        )
        post(path: 'multipart/start/',
             headers: { 'Content-Type': body.content_type },
             body: body)
      end
def upload_start ( object , store : false ) body = HTTP :: FormData :: Multipart . new ( Param :: Upload :: UploadParamsGenerator . call ( store ) . merge ( form_data_for ( object ) ) ) post ( path : 'multipart/start/' , headers : { 'Content-Type' : body . content_type } , body : body ) end
Asks Uploadcare server to create a number of storage bin for uploads
Asks Uploadcare server to create a number of storage bin for uploads
object
store