Class: Harvest::Resources::Entry

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

Class Method Summary collapse

Methods included from Plugins::ActiveResourceInheritableHeaders

included

Class Method Details

.person_idObject



26
27
28
# File 'lib/harvest/resources/entry.rb', line 26

def person_id
  @person_id
end

.person_id=(id) ⇒ Object



21
22
23
24
# File 'lib/harvest/resources/entry.rb', line 21

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

.project_idObject



17
18
19
# File 'lib/harvest/resources/entry.rb', line 17

def project_id
  @project_id
end

.project_id=(id) ⇒ Object



12
13
14
15
# File 'lib/harvest/resources/entry.rb', line 12

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