teamforge 0.0.4 → 0.0.5

Sign up to get free protection for your applications and to get access to all the features.
@@ -5,85 +5,29 @@ module TeamForge
5
5
  ######################
6
6
  # CategorizationApp Messages
7
7
  ######################
8
- AddProjectToCategory = Struct.new(:session_id, :project_id, :category_id) do
9
- def send (server=nil, proxy=nil)
10
- TeamForge.request(self, server, proxy)
11
- end
12
- end
13
- CreateCategory = Struct.new(:session_id, :parent_id, :title, :description) do
14
- def send (server=nil, proxy=nil)
15
- TeamForge.request(self, server, proxy)
16
- end
17
- end
18
- DeleteCategory = Struct.new(:session_id, :category_id) do
19
- def send (server=nil, proxy=nil)
20
- TeamForge.request(self, server, proxy)
21
- end
22
- end
23
- GetAllCategories = Struct.new(:session_id) do
24
- def send (server=nil, proxy=nil)
25
- TeamForge.request(self, server, proxy)
26
- end
27
- end
28
- GetCategoryData = Struct.new(:session_id, :category_id) do
29
- def send (server=nil, proxy=nil)
30
- TeamForge.request(self, server, proxy)
31
- end
32
- end
33
- GetCategoryProjects = Struct.new(:session_id, :category_id, :include_subcategories) do
34
- def send (server=nil, proxy=nil)
35
- TeamForge.request(self, server, proxy)
36
- end
37
- end
38
- GetProjectCategories = Struct.new(:session_id, :project_id) do
39
- def send (server=nil, proxy=nil)
40
- TeamForge.request(self, server, proxy)
41
- end
42
- end
43
- GetRootCategoryData = Struct.new(:session_id) do
44
- def send (server=nil, proxy=nil)
45
- TeamForge.request(self, server, proxy)
46
- end
47
- end
48
- GetSubcategories = Struct.new(:session_id, :category_id, :recursive) do
49
- def send (server=nil, proxy=nil)
50
- TeamForge.request(self, server, proxy)
51
- end
52
- end
53
- GetUncategorizedProjects = Struct.new(:session_id) do
54
- def send (server=nil, proxy=nil)
55
- TeamForge.request(self, server, proxy)
56
- end
57
- end
58
- IsCategorizationEnabled = Struct.new(:session_id) do
59
- def send (server=nil, proxy=nil)
60
- TeamForge.request(self, server, proxy)
61
- end
62
- end
63
- MoveCategory = Struct.new(:session_id, :category_id, :dst_category_id) do
64
- def send (server=nil, proxy=nil)
65
- TeamForge.request(self, server, proxy)
66
- end
67
- end
68
- RemoveProjectFromCategory = Struct.new(:session_id, :project_id, :category_id) do
69
- def send (server=nil, proxy=nil)
70
- TeamForge.request(self, server, proxy)
71
- end
72
- end
73
- SetCategoryData = Struct.new(:session_id, :category_data) do
74
- def send (server=nil, proxy=nil)
75
- TeamForge.request(self, server, proxy)
76
- end
77
- end
8
+ AddProjectToCategory = TFSoapRequest.new(:session_id, :project_id, :category_id)
9
+ CreateCategory = TFSoapRequest.new(:session_id, :parent_id, :title, :description)
10
+ DeleteCategory = TFSoapRequest.new(:session_id, :category_id)
11
+ GetAllCategories = TFSoapRequest.new(:session_id)
12
+ GetCategoryData = TFSoapRequest.new(:session_id, :category_id)
13
+ GetCategoryProjects = TFSoapRequest.new(:session_id, :category_id, :include_subcategories)
14
+ GetProjectCategories = TFSoapRequest.new(:session_id, :project_id)
15
+ GetRootCategoryData = TFSoapRequest.new(:session_id)
16
+ GetSubcategories = TFSoapRequest.new(:session_id, :category_id, :recursive)
17
+ GetUncategorizedProjects = TFSoapRequest.new(:session_id)
18
+ IsCategorizationEnabled = TFSoapRequest.new(:session_id)
19
+ MoveCategory = TFSoapRequest.new(:session_id, :category_id, :dst_category_id)
20
+ RemoveProjectFromCategory = TFSoapRequest.new(:session_id, :project_id, :category_id)
21
+ SetCategoryData = TFSoapRequest.new(:session_id, :category_data)
78
22
 
79
23
 
80
24
  ######################
81
25
  # CategorizationApp Types
82
26
  ######################
83
27
 
84
- CategorySoapDO = Struct.new(:created_by,:created_date,:description,:id,:last_modified_by,:last_modified_date,:parent_folder_id,:path,:project_id,:title,:version, :attributes!)
85
- CategorySoapRow = Struct.new(:created_by,:created_on,:description,:id,:last_modified_by,:last_modified_on,:parent_folder_id,:path,:project_id,:title, :attributes!)
86
- ProjectSoapRow = Struct.new(:date_created,:description,:hierarchy_path,:id,:locked,:parent_project_id,:path,:title, :attributes!)
28
+ CategorySoapDO = TFType.new(:created_by,:created_date,:description,:id,:last_modified_by,:last_modified_date,:parent_folder_id,:path,:project_id,:title,:version, :attributes!)
29
+ CategorySoapRow = TFType.new(:created_by,:created_on,:description,:id,:last_modified_by,:last_modified_on,:parent_folder_id,:path,:project_id,:title, :attributes!)
30
+ ProjectSoapRow = TFType.new(:date_created,:description,:hierarchy_path,:id,:locked,:parent_project_id,:path,:title, :attributes!)
87
31
 
88
32
  end # module CategorizationApp
89
33