Class: DropboxApi::Endpoints::Files::SaveUrlCheckJobStatus

Inherits:
Rpc
  • Object
show all
Defined in:
lib/dropbox_api/endpoints/files/save_url_check_job_status.rb

Constant Summary collapse

Method =
:post
Path =
"/2/files/save_url/check_job_status".freeze
ResultType =
DropboxApi::Results::SaveUrlJobStatus
ErrorType =
DropboxApi::Errors::PollError

Instance Method Summary collapse

Methods inherited from Rpc

#build_request, #initialize, #request_body

Methods inherited from Base

add_endpoint

Constructor Details

This class inherits a constructor from DropboxApi::Endpoints::Rpc

Instance Method Details

#save_url_check_job_status(job_id) ⇒ Object

Check the status of a save_url job.

Parameters:

  • job_id (String)

    Id of the asynchronous job. This is the value of a response returned from the method that launched the job.

Returns:

  • The current status of the job.


13
14
15
16
17
# File 'lib/dropbox_api/endpoints/files/save_url_check_job_status.rb', line 13

add_endpoint :save_url_check_job_status do |job_id|
  perform_request({
    :async_job_id => job_id
  })
end