class Asana::Resources::Job
A job represents a process that handles asynchronous work.
Jobs are created when an endpoint requests an action that will be handled asynchronously. Such as project or task duplication.
Attributes
gid[R]
new_project[R]
new_task[R]
resource_subtype[R]
resource_type[R]
status[R]
Public Class Methods
find_by_id(client, id, options: {})
click to toggle source
Returns the complete job record for a single job.
id - [Gid] The job to get. options - [Hash] the request I/O options.
# File lib/asana/resources/job.rb, line 34 def find_by_id(client, id, options: {}) self.new(parse(client.get("/jobs/#{id}", options: options)).first, client: client) end
plural_name()
click to toggle source
Returns the plural name of the resource.
# File lib/asana/resources/job.rb, line 26 def plural_name 'jobs' end