class MPXJ::Assignment

Represents a relationship between a task and a resource in a project plan

Public Instance Methods

resource() click to toggle source

Retrieve the resource associated with this assignment

@return [Resource] the resource associated with this assignment.

# File lib/mpxj/assignment.rb, line 16
def resource
  parent_project.get_resource_by_unique_id(resource_unique_id)
end
task() click to toggle source

Retrieve the task associated with this assignment

@return [Task] the task associated with this assignment.

# File lib/mpxj/assignment.rb, line 9
def task
  parent_project.get_task_by_unique_id(task_unique_id)
end