Sha256: 237de933aa6ef5b32b8e5ba0379bcae8e01698055ff5a335abe2a59dd70c69e5

Contents?: true

Size: 730 Bytes

Versions: 2

Compression:

Stored size: 730 Bytes

Contents

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

    # Returns the status of an asynchronous job for delete_batch. If success,
    # it returns list of result for each entry.
    #
    # @param async_job_id [String] Id of the asynchronous job.
    # @return [:in_progress, Array] This could be either the `:in_progress`
    #   flag or a list of job statuses.
    add_endpoint :delete_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/delete_batch_check.rb
dropbox_api-0.1.17 lib/dropbox_api/endpoints/files/delete_batch_check.rb