Class: Harvest::Project

Inherits:
BaseModel show all
Includes:
HappyMapper
Defined in:
lib/harvest/project.rb

Overview

The model that contains information about a project

Fields

id

(READONLY) the id of the project

name

(REQUIRED) the name of the project

client_id

(REQUIRED) the client id of the project

code

the project code

notes

the project notes

active?

true|false whether the project is active

billable?

true|false where the project is billable

budget_by

how the budget is calculated for the project project|project_cost|task|person|nil

budget

what the budget is for the project (based on budget_by)

bill_by

how to bill the project Tasks|People|Project|nil

hourly_rate

what the hourly rate for the project is based on bill_by

notify_when_over_budget?

whether the project will send notifications when it goes over budget

over_budget_notification_percentage

what percentage of the budget the project has to be before it sends a notification. Based on notify_when_over_budget?

show_budget_to_all?

whether the project’s budget is shown to employees and contractors

basecamp_id

(READONLY) the id of the basecamp project associated to the project

highrise_deal_id

(READONLY) the id of the highrise deal associated to the project

active_task_assignments_count

(READONLY) the number of active task assignments

created_at

(READONLY) when the project was created

updated_at

(READONLY) when the project was updated

Method Summary

Methods inherited from BaseModel

#==, api_path, #attributes=, #initialize, #to_i, #to_xml

Constructor Details

This class inherits a constructor from Harvest::BaseModel