Class: Harvest::Resources::Expense
- Inherits:
-
HarvestResource
- Object
- ActiveResource::Base
- HarvestResource
- Harvest::Resources::Expense
- Defined in:
- lib/harvest/resources/expense.rb
Class Method Summary collapse
Methods included from Plugins::ActiveResourceInheritableHeaders
Class Method Details
.person_id ⇒ Object
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 |