Class: Harvest::Resources::UserAssignment
- Inherits:
-
HarvestResource
- Object
- ActiveResource::Base
- HarvestResource
- Harvest::Resources::UserAssignment
- Defined in:
- lib/harvest/resources/user_assignment.rb
Class Method Summary collapse
Methods included from Plugins::ActiveResourceInheritableHeaders
Class Method Details
.project_id ⇒ Object
15 16 17 |
# File 'lib/harvest/resources/user_assignment.rb', line 15 def project_id @project_id end |
.project_id=(id) ⇒ Object
10 11 12 13 |
# File 'lib/harvest/resources/user_assignment.rb', line 10 def project_id=(id) @project_id = id set_site end |
.set_site ⇒ Object
19 20 21 |
# File 'lib/harvest/resources/user_assignment.rb', line 19 def set_site self.site = self.site + "/projects/#{self.project_id}" end |