Sha256: 13553784bc6ea854d1d60832d7ab532f05c15f1a3dcfec2764d3e7d5c7610bad

Contents?: true

Size: 802 Bytes

Versions: 2

Compression:

Stored size: 802 Bytes

Contents

module DropboxApi::Endpoints::Files
  class CreateFolderBatchCheck < DropboxApi::Endpoints::Rpc
    Method      = :post
    Path        = "/2/files/create_folder_batch/check".freeze
    ResultType  = DropboxApi::Results::CreateFolderBatchResult
    ErrorType   = DropboxApi::Errors::PollError

    # Returns the status of an asynchronous job for create_folder_batch.
    # If success, it returns list of result for each entry.
    #
    # @param async_job_id [String] Id of the asynchronous job.
    #   This is the value of a response returned from the method that launched
    #   the job.
    # @return [Array] A list of one result for each entry.
    add_endpoint :create_folder_batch_check do |async_job_id|
      perform_request({
        :async_job_id => async_job_id
      })
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
dropbox_api-0.1.18 lib/dropbox_api/endpoints/files/create_folder_batch_check.rb
dropbox_api-0.1.17 lib/dropbox_api/endpoints/files/create_folder_batch_check.rb