Module: TestingBot::Resources::Jobs

Included in:
Api
Defined in:
lib/testingbot/resources/jobs.rb

Overview

Endpoints under /jobs.

Instance Method Summary collapse

Instance Method Details

#get_job(job_id) ⇒ Object

Poll the status/result of an asynchronous job (e.g. a Codeless Lab run).



6
7
8
# File 'lib/testingbot/resources/jobs.rb', line 6

def get_job(job_id)
  get("/jobs/#{escape(job_id)}")
end