Sha256: 276f8f7ef158419aad110315b75f29e6191445b85502510f8f4b626f0e060edf

Contents?: true

Size: 665 Bytes

Versions: 6

Compression:

Stored size: 665 Bytes

Contents

module DropboxApi::Endpoints::Files
  class SaveUrlCheckJobStatus < DropboxApi::Endpoints::Rpc
    Method      = :post
    Path        = "/2/files/save_url/check_job_status".freeze
    ResultType  = DropboxApi::Results::SaveUrlJobStatus
    ErrorType   = DropboxApi::Errors::PollError

    # Check the status of a +save_url+ job.
    #
    # @param job_id [String] Id of the asynchronous job. This is the value of
    #   a response returned from the method that launched the job.
    # @return The current status of the job.
    add_endpoint :save_url_check_job_status do |job_id|
      perform_request({
        :async_job_id => job_id
      })
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
dropbox_api-0.1.10 lib/dropbox_api/endpoints/files/save_url_check_job_status.rb
dropbox_api-0.1.9 lib/dropbox_api/endpoints/files/save_url_check_job_status.rb
dropbox_api-0.1.8 lib/dropbox_api/endpoints/files/save_url_check_job_status.rb
dropbox_api-0.1.7 lib/dropbox_api/endpoints/files/save_url_check_job_status.rb
dropbox_api-0.1.6 lib/dropbox_api/endpoints/files/save_url_check_job_status.rb
dropbox_api-0.1.5 lib/dropbox_api/endpoints/files/save_url_check_job_status.rb