Class: Harvest::Resources::Expense

Inherits:
HarvestResource show all
Defined in:
lib/harvest/resources/expense.rb

Class Method Summary collapse

Methods included from Plugins::ActiveResourceInheritableHeaders

included

Class Method Details

.person_idObject



14
15
16
# File 'lib/harvest/resources/expense.rb', line 14

def person_id
  @person_id
end

.person_id=(id) ⇒ Object



9
10
11
12
# File 'lib/harvest/resources/expense.rb', line 9

def person_id=(id)
  @person_id = id
  self.site = self.site + "/people/#{@person_id}"
end