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