Class: LiquidPlanner::Resources::Workspace
Instance Method Summary
collapse
-
#clients(scope = :all, options = {}) ⇒ Object
-
#custom_fields(scope = :all, options = {}) ⇒ Object
-
#events(scope = :all, options = {}) ⇒ Object
-
#folders(scope = :all, options = {}) ⇒ Object
-
#members(scope = :all, options = {}) ⇒ Object
-
#milestones(scope = :all, options = {}) ⇒ Object
-
#packages(scope = :all, options = {}) ⇒ Object
-
#projects(scope = :all, options = {}) ⇒ Object
-
#tasks(scope = :all, options = {}) ⇒ Object
-
#treeitems(scope = :all, options = {}) ⇒ Object
#get_raw, #load
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
in the class LiquidPlanner::LiquidPlannerResource
Instance Method Details
#clients(scope = :all, options = {}) ⇒ Object
25
26
27
|
# File 'lib/liquidplanner/resources/workspace.rb', line 25
def clients( scope=:all, options={} )
Client.find( scope, :params => { :workspace_id => self.id, :flat => true }.merge(options) )
end
|
#custom_fields(scope = :all, options = {}) ⇒ Object
41
42
43
|
# File 'lib/liquidplanner/resources/workspace.rb', line 41
def custom_fields( scope=:all, options={} )
CustomField.find( scope, :params => { :workspace_id => self.id }.merge(options) )
end
|
#events(scope = :all, options = {}) ⇒ Object
17
18
19
|
# File 'lib/liquidplanner/resources/workspace.rb', line 17
def events( scope=:all, options={} )
Event.find( scope, :params => { :workspace_id => self.id }.merge(options) )
end
|
#folders(scope = :all, options = {}) ⇒ Object
37
38
39
|
# File 'lib/liquidplanner/resources/workspace.rb', line 37
def folders( scope=:all, options={} )
Folder.find( scope, :params => { :workspace_id => self.id, :flat => true }.merge(options) )
end
|
#members(scope = :all, options = {}) ⇒ Object
5
6
7
|
# File 'lib/liquidplanner/resources/workspace.rb', line 5
def members( scope=:all, options={} )
Member.find( scope, :params => { :workspace_id => self.id }.merge(options) )
end
|
#milestones(scope = :all, options = {}) ⇒ Object
21
22
23
|
# File 'lib/liquidplanner/resources/workspace.rb', line 21
def milestones( scope=:all, options={} )
Milestone.find( scope, :params => { :workspace_id => self.id }.merge(options) )
end
|
#packages(scope = :all, options = {}) ⇒ Object
33
34
35
|
# File 'lib/liquidplanner/resources/workspace.rb', line 33
def packages( scope=:all, options={} )
Package.find( scope, :params => { :workspace_id => self.id, :flat => true }.merge(options) )
end
|
#projects(scope = :all, options = {}) ⇒ Object
29
30
31
|
# File 'lib/liquidplanner/resources/workspace.rb', line 29
def projects( scope=:all, options={} )
Project.find( scope, :params => { :workspace_id => self.id, :flat => true }.merge(options) )
end
|
#tasks(scope = :all, options = {}) ⇒ Object
13
14
15
|
# File 'lib/liquidplanner/resources/workspace.rb', line 13
def tasks( scope=:all, options={} )
Task.find( scope, :params => { :workspace_id => self.id }.merge(options) )
end
|
#treeitems(scope = :all, options = {}) ⇒ Object
9
10
11
|
# File 'lib/liquidplanner/resources/workspace.rb', line 9
def treeitems( scope=:all, options={} )
Treeitem.find( scope, :params => { :workspace_id => self.id, :flat => true }.merge(options) )
end
|