ruby-bugzilla-nomagick 0.6.4.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,50 @@
1
+ # api_tmpl.rb
2
+ # Copyright (C) 2010-2012 Red Hat, Inc.
3
+ #
4
+ # Authors:
5
+ # Akira TAGOH <tagoh@redhat.com>
6
+ #
7
+ # This library is free software: you can redistribute it and/or
8
+ # modify it under the terms of the GNU Lesser General Public
9
+ # License as published by the Free Software Foundation, either
10
+ # version 3 of the License, or (at your option) any later version.
11
+ #
12
+ # This library is distributed in the hope that it will be useful,
13
+ # but WITHOUT ANY WARRANTY; without even the implied warranty of
14
+ # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15
+ # GNU General Public License for more details.
16
+ #
17
+ # You should have received a copy of the GNU General Public License
18
+ # along with this program. If not, see <http://www.gnu.org/licenses/>.
19
+
20
+ require 'bugzilla/skeleton'
21
+ require 'bugzilla/bugzilla'
22
+
23
+
24
+ module Bugzilla
25
+
26
+ =begin rdoc
27
+
28
+ === Bugzilla::APITemplate
29
+
30
+ =end
31
+
32
+ class APITemplate < Skeleton
33
+
34
+ def initialize(iface)
35
+ super
36
+
37
+ @bz = Bugzilla.new(iface)
38
+ end # def initialize
39
+
40
+ def method_missing(symbol, *args)
41
+ if @bz.respond_to?(symbol) then
42
+ @bz.__send__(symbol, *args)
43
+ else
44
+ super
45
+ end
46
+ end # def method_missing
47
+
48
+ end # class APITemplate
49
+
50
+ end # module Bugzilla
@@ -0,0 +1,377 @@
1
+ # bug.rb
2
+ # Copyright (C) 2010-2012 Red Hat, Inc.
3
+ #
4
+ # Authors:
5
+ # Akira TAGOH <tagoh@redhat.com>
6
+ #
7
+ # This library is free software: you can redistribute it and/or
8
+ # modify it under the terms of the GNU Lesser General Public
9
+ # License as published by the Free Software Foundation, either
10
+ # version 3 of the License, or (at your option) any later version.
11
+ #
12
+ # This library is distributed in the hope that it will be useful,
13
+ # but WITHOUT ANY WARRANTY; without even the implied warranty of
14
+ # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15
+ # GNU General Public License for more details.
16
+ #
17
+ # You should have received a copy of the GNU General Public License
18
+ # along with this program. If not, see <http://www.gnu.org/licenses/>.
19
+
20
+ require 'bugzilla/api_tmpl'
21
+
22
+ module Bugzilla
23
+
24
+ =begin rdoc
25
+
26
+ === Bugzilla::Bug
27
+
28
+ Bugzilla::Bug class is to access
29
+ the Bugzilla::WebService::Bug API that allows you to file
30
+ a new bug in Bugzilla or get information about bugs that
31
+ have already been filed.
32
+
33
+ =end
34
+
35
+ class Bug < APITemplate
36
+
37
+ FIELDS_SUMMARY = ["id", "product", "component", "status", "severity", "summary"]
38
+ FIELDS_DETAILS = FIELDS_SUMMARY + ["assigned_to", "internals", "priority", "resolution"]
39
+ FIELDS_ALL = ["alias", "assigned_to", "blocks", "cc", "classification",
40
+ "component", "creation_time", "creator", "deadline",
41
+ "depends_on", "dupe_of", "estimated_time", "groups",
42
+ "id", "is_cc_accessible", "is_confirmed", "is_open",
43
+ "is_creator_accessible", "keywords", "last_change_time",
44
+ "op_sys", "platform", "priority", "product", "qa_contact",
45
+ "remaining_time", "resolution", "see_also", "severity",
46
+ "status", "summary", "target_milestone", "update_token",
47
+ "url", "version", "whiteboard",
48
+ "external_bugs", "internals"]
49
+
50
+ =begin rdoc
51
+
52
+ ==== Bugzilla::Bug#get_bugs(bugs, fields = Bugzilla::Bug::FIELDS_SUMMARY)
53
+
54
+ Get the _bugs_ information from Bugzilla. either of String
55
+ or Numeric or Array would be acceptable for _bugs_. you can
56
+ specify the fields you want to look up with _fields_.
57
+
58
+ FWIW this name conflicts to Bugzilla API but this isn's a
59
+ primitive method since get_bugs method in WebService API is
60
+ actually deprecated.
61
+
62
+ =end
63
+
64
+ def get_bugs(bugs, fields = ::Bugzilla::Bug::FIELDS_SUMMARY)
65
+ params = {}
66
+
67
+ if bugs.kind_of?(Array) then
68
+ params['ids'] = bugs
69
+ elsif bugs.kind_of?(Integer) ||
70
+ bugs.kind_of?(String) then
71
+ params['ids'] = [bugs]
72
+ else
73
+ raise ArgumentError, sprintf("Unknown type of arguments: %s", bugs.class)
74
+ end
75
+ unless fields.nil? then
76
+ unless (fields - ::Bugzilla::Bug::FIELDS_ALL).empty? then
77
+ raise ArgumentError, sprintf("Invalid fields: %s", (::Bugzilla::Bug::FIELDS_ALL - fields).join(' '))
78
+ end
79
+ params['include_fields'] = fields
80
+ end
81
+
82
+ result = get(params)
83
+
84
+ if fields.nil? || fields == ::Bugzilla::Bug::FIELDS_ALL then
85
+ get_comments(bugs).each do |id, c|
86
+ result['bugs'].each do |r|
87
+ if r['id'].to_s == id then
88
+ r['comments'] = c['comments']
89
+ r['comments'] = [] if r['comments'].nil?
90
+ break
91
+ end
92
+ end
93
+ end
94
+ end
95
+
96
+ # 'bugs' is only in interests.
97
+ # XXX: need to deal with 'faults' ?
98
+ result['bugs']
99
+ end # def get_bugs
100
+
101
+ =begin rdoc
102
+
103
+ ==== Bugzilla::Bug#get_comments(bugs)
104
+
105
+ =end
106
+
107
+ def get_comments(bugs)
108
+ params = {}
109
+
110
+ if bugs.kind_of?(Array) then
111
+ params['ids'] = bugs
112
+ elsif bugs.kind_of?(Integer) ||
113
+ bugs.kind_of?(String) then
114
+ params['ids'] = [bugs]
115
+ else
116
+ raise ArgumentError, sprintf("Unknown type of arguments: %s", bugs.class)
117
+ end
118
+
119
+ result = comments(params)
120
+
121
+ # not supporting comment_ids. so drop "comments".
122
+ ret = result['bugs']
123
+ # creation_time was added in Bugzilla 4.4. copy the 'time' value to creation_time if not available for compatibility.
124
+ unless check_version(4.4)[0] then
125
+ ret.each do |id, o|
126
+ o['comments'].each do |c|
127
+ unless c.include?('creation_time') then
128
+ c['creation_time'] = c['time']
129
+ end
130
+ end
131
+ end
132
+ end
133
+
134
+ ret
135
+ end # def get_comments
136
+
137
+ =begin rdoc
138
+
139
+ ==== Bugzilla::Bug#fields(params)
140
+
141
+ Raw Bugzilla API to obtain the information about valid bug
142
+ fields, including the lists of legal values for each field.
143
+
144
+ See http://www.bugzilla.org/docs/tip/en/html/api/Bugzilla/WebService/Bug.html
145
+
146
+ =end
147
+
148
+ =begin rdoc
149
+
150
+ ==== Bugzilla::Bug#legal_values(params)
151
+
152
+ Raw Bugzilla API to obtain the information what values are
153
+ allowed for a particular field.
154
+
155
+ See http://www.bugzilla.org/docs/tip/en/html/api/Bugzilla/WebService/Bug.html
156
+
157
+ =end
158
+
159
+ =begin rdoc
160
+
161
+ ==== Bugzilla::Bug#attachments(params)
162
+
163
+ Raw Bugzilla API to obtain the information about
164
+ attachments, given a list of bugs and/or attachment ids.
165
+
166
+ See http://www.bugzilla.org/docs/tip/en/html/api/Bugzilla/WebService/Bug.html
167
+
168
+ =end
169
+
170
+ =begin rdoc
171
+
172
+ ==== Bugzilla::Bug#comments(params)
173
+
174
+ Raw Bugzilla API to obtain the information about comments,
175
+ given a list of bugs and/or comment ids.
176
+
177
+ See http://www.bugzilla.org/docs/tip/en/html/api/Bugzilla/WebService/Bug.html
178
+
179
+ =end
180
+
181
+ =begin rdoc
182
+
183
+ ==== Bugzilla::Bug#get(params)
184
+
185
+ Raw Bugzilla API to obtain the information about particular
186
+ bugs in the database.
187
+
188
+ See http://www.bugzilla.org/docs/tip/en/html/api/Bugzilla/WebService/Bug.html
189
+
190
+ =end
191
+
192
+ =begin rdoc
193
+
194
+ ==== Bugzilla::Bug#history(params)
195
+
196
+ Raw Bugzilla API to obtain the history of changes for
197
+ particular bugs in the database.
198
+
199
+ See http://www.bugzilla.org/docs/tip/en/html/api/Bugzilla/WebService/Bug.html
200
+
201
+ =end
202
+
203
+ =begin rdoc
204
+
205
+ ==== Bugzilla::Bug#search(params)
206
+
207
+ Raw Bugzilla API to search for bugs based on particular
208
+ criteria.
209
+
210
+ See http://www.bugzilla.org/docs/tip/en/html/api/Bugzilla/WebService/Bug.html
211
+
212
+ =end
213
+
214
+ =begin rdoc
215
+
216
+ ==== Bugzilla::Bug#create(params)
217
+
218
+ Raw Bugzilla API to create a new bug in Bugzilla.
219
+
220
+ See http://www.bugzilla.org/docs/tip/en/html/api/Bugzilla/WebService/Bug.html
221
+
222
+ =end
223
+
224
+ protected
225
+
226
+ def _fields(cmd, *args)
227
+ requires_version(cmd, 3.6)
228
+ params = {}
229
+
230
+ if args[0].kind_of?(Array) then
231
+ x = args[0].map {|x| x.kind_of?(Integer)}.uniq
232
+ if x.length == 1 && x[0] then
233
+ params['ids'] = args[0]
234
+ else
235
+ x = args[0].map {|x| x.kind_of?(String)}.uniq
236
+ if x.length == 1 && x[0] then
237
+ params['names'] = args[0]
238
+ end
239
+ end
240
+ elsif args[0].kind_of?(Hash) then
241
+ params = args[0]
242
+ elsif args[0].kind_of?(Integer) then
243
+ params['ids'] = [args[0]]
244
+ elsif args[0].kind_of?(String) then
245
+ params['names'] = [args[0]]
246
+ elsif args[0].nil? then
247
+ else
248
+ raise ArgumentError, "Invalid parameters"
249
+ end
250
+
251
+ @iface.call(cmd, params)
252
+ end # def _fields
253
+
254
+ def _legal_values(cmd, *args)
255
+ raise ArgumentError, "Invalid parameters" unless args[0].kind_of?(Hash)
256
+
257
+ @iface.call(cmd, args[0])
258
+ end # def _legal_values
259
+
260
+ def _attachments(cmd, *args)
261
+ requires_version(cmd, 3.6)
262
+
263
+ raise ArgumentError, "Invalid parameters" unless args[0].kind_of?(Hash)
264
+
265
+ @iface.call(cmd, args[0])
266
+ end # def _attachments
267
+
268
+ def _comments(cmd, *args)
269
+ requires_version(cmd, 3.4)
270
+
271
+ raise ArgumentError, "Invalid parameters" unless args[0].kind_of?(Hash)
272
+
273
+ @iface.call(cmd, args[0])
274
+ end # def _comments
275
+
276
+ def _get(cmd, *args)
277
+ params = {}
278
+
279
+ if args[0].kind_of?(Hash) then
280
+ params = args[0]
281
+ elsif args[0].kind_of?(Array) then
282
+ params['ids'] = args[0]
283
+ elsif args[0].kind_of?(Integer) ||
284
+ args[0].kind_of?(String) then
285
+ params['ids'] = [args[0]]
286
+ else
287
+ raise ArgumentError, "Invalid parameters"
288
+ end
289
+ if check_version(3.4)[0] then
290
+ params['permissive'] = true
291
+ end
292
+
293
+ @iface.call(cmd, params)
294
+ end # def _get
295
+
296
+ def _history(cmd, *args)
297
+ requires_version(cmd, 3.4)
298
+
299
+ params = {}
300
+
301
+ if args[0].kind_of?(Hash) then
302
+ params = args[0]
303
+ elsif args[0].kind_of?(Array) then
304
+ params['ids'] = args[0]
305
+ elsif args[0].kind_of?(Integer) ||
306
+ args[0].kind_of?(String) then
307
+ params['ids'] = [args[0]]
308
+ else
309
+ raise ArgumentError, "Invalid parameters"
310
+ end
311
+
312
+ @iface.call(cmd, params)
313
+ end # def _history
314
+
315
+ def _search(cmd, *args)
316
+ requires_version(cmd, 3.4)
317
+
318
+ raise ArgumentError, "Invalid parameters" unless args[0].kind_of?(Hash)
319
+
320
+ @iface.call(cmd, args[0])
321
+ end # def _search
322
+
323
+ def _create(cmd, *args)
324
+ raise ArgumentError, "Invalid parameters" unless args[0].kind_of?(Hash)
325
+
326
+ required_fields = [:product, :component, :summary, :version]
327
+ defaulted_fields = [:description, :op_sys, :platform, :priority, :severity]
328
+
329
+ res = check_version("3.0.4")
330
+ unless res[0] then
331
+ required_fields.push(*defaulted_fields)
332
+ end
333
+ required_fields.each do |f|
334
+ raise ArgumentError, sprintf("Required fields isn't given: %s", f) unless args[0].include?(f)
335
+ end
336
+ res = check_version(4.0)
337
+ unless res[0] then
338
+ raise ArgumentError, "groups field isn't available in this bugzilla" if args[0].include?("groups")
339
+ raise ArgumentError, "comment_is_private field isn't available in this bugzilla" if args[0].include?("comment_is_private")
340
+ else
341
+ if args[0].include?("commentprivacy") then
342
+ args[0]["comment_is_private"] = args[0]["commentprivacy"]
343
+ args[0].delete("commentprivacy")
344
+ end
345
+ end
346
+
347
+ @iface.call(cmd, args[0])
348
+ end # def _create
349
+
350
+ def __add_attachment(cmd, *args)
351
+ requires_version(cmd, 4.0)
352
+ # FIXME
353
+ end # def _add_attachment
354
+
355
+ def __add_comment(cmd, *args)
356
+ requires_version(cmd, 3.2)
357
+ # FIXME
358
+ end # def _add_comment
359
+
360
+ def __update(cmd, *args)
361
+ requires_version(cmd, 4.0)
362
+ # FIXME
363
+ end # def _update
364
+
365
+ def __update_see_also(cmd, *args)
366
+ requires_version(cmd, 3.4)
367
+ # FIXME
368
+ end # def _update_see_also
369
+
370
+ def __update_tags(cmd, *args)
371
+ requires_version(cmd, 4.4)
372
+ # FIXME
373
+ end # def _update_tags
374
+
375
+ end # class Bug
376
+
377
+ end # module Bugzilla
@@ -0,0 +1,161 @@
1
+ # bugzilla.rb
2
+ # Copyright (C) 2010-2014 Red Hat, Inc.
3
+ #
4
+ # Authors:
5
+ # Akira TAGOH <tagoh@redhat.com>
6
+ #
7
+ # This library is free software: you can redistribute it and/or
8
+ # modify it under the terms of the GNU Lesser General Public
9
+ # License as published by the Free Software Foundation, either
10
+ # version 3 of the License, or (at your option) any later version.
11
+ #
12
+ # This library is distributed in the hope that it will be useful,
13
+ # but WITHOUT ANY WARRANTY; without even the implied warranty of
14
+ # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15
+ # GNU General Public License for more details.
16
+ #
17
+ # You should have received a copy of the GNU General Public License
18
+ # along with this program. If not, see <http://www.gnu.org/licenses/>.
19
+
20
+ require 'bugzilla/skeleton'
21
+
22
+ module Bugzilla
23
+
24
+ =begin rdoc
25
+
26
+ === Bugzilla::Bugzilla
27
+
28
+ Bugzilla::Bugzilla class is to access the
29
+ Bugzilla::WebService::Bugzilla API that provides functions
30
+ tell you about Bugzilla in general.
31
+
32
+ =end
33
+
34
+ class Bugzilla < Skeleton
35
+
36
+ =begin rdoc
37
+
38
+ ==== Bugzilla::Bugzilla#check_version(version_)
39
+
40
+ Returns Array contains the result of the version check and
41
+ Bugzilla version that is running on.
42
+
43
+ =end
44
+
45
+ def check_version(version_)
46
+ v = version
47
+ f = false
48
+ if v.kind_of?(Hash) && v.include?("version") &&
49
+ Gem::Version.new(v['version']) >= Gem::Version.new("#{version_}") then
50
+ f = true
51
+ end
52
+
53
+ [f, v['version']]
54
+ end # def check_version
55
+
56
+ =begin rdoc
57
+
58
+ ==== Bugzilla::Bugzilla#requires_version(cmd, version_)
59
+
60
+ Raise an exception if the Bugzilla doesn't satisfy
61
+ the requirement of the _version_.
62
+
63
+ =end
64
+
65
+ def requires_version(cmd, version_)
66
+ v = check_version(version_)
67
+ raise NoMethodError, sprintf("%s is not supported in Bugzilla %s", cmd, v[1]) unless v[0]
68
+ end # def requires_version
69
+
70
+ =begin rdoc
71
+
72
+ ==== Bugzilla::Bugzilla#version
73
+
74
+ Raw Bugzilla API to obtain the Bugzilla version.
75
+
76
+ See http://www.bugzilla.org/docs/tip/en/html/api/Bugzilla/WebService/Bugzilla.html
77
+
78
+ =end
79
+
80
+ =begin rdoc
81
+
82
+ ==== Bugzilla::Bugzilla#extensions
83
+
84
+ Raw Bugzilla API to obtain the information about
85
+ the extensions that are currently installed and enabled in
86
+ the Bugzilla.
87
+
88
+ See http://www.bugzilla.org/docs/tip/en/html/api/Bugzilla/WebService/Bugzilla.html
89
+
90
+ =end
91
+
92
+ =begin rdoc
93
+
94
+ ==== Bugzilla::Bugzilla#timezone
95
+
96
+ Raw Bugzilla API to obtain the timezone that Bugzilla
97
+ expects dates and times in.
98
+
99
+ See http://www.bugzilla.org/docs/tip/en/html/api/Bugzilla/WebService/Bugzilla.html
100
+
101
+ =end
102
+
103
+ =begin rdoc
104
+
105
+ ==== Bugzilla::Bugzilla#time
106
+
107
+ Raw Bugzilla API to obtain the information about what time
108
+ the bugzilla server thinks it is, and what timezone it's
109
+ running on.
110
+
111
+ See http://www.bugzilla.org/docs/tip/en/html/api/Bugzilla/WebService/Bugzilla.html
112
+
113
+ =end
114
+
115
+ =begin rdoc
116
+
117
+ ==== Bugzilla::Bugzilla#parameters
118
+
119
+ Raw Bugzilla API to obtain parameter values currently used in Bugzilla.
120
+
121
+ See http://www.bugzilla.org/docs/tip/en/html/api/Bugzilla/WebService/Bugzilla.html
122
+
123
+ =end
124
+
125
+ protected
126
+
127
+ def _version(cmd, *args)
128
+ @iface.call(cmd)
129
+ end # def _version
130
+
131
+ def _extensions(cmd, *args)
132
+ requires_version(cmd, 3.2)
133
+
134
+ @iface.call(cmd)
135
+ end # def _extensions
136
+
137
+ def _timezone(cmd, *args)
138
+ @iface.call(cmd)
139
+ end # def _timezone
140
+
141
+ def _time(cmd, *args)
142
+ requires_version(cmd, 3.4)
143
+
144
+ @iface.call(cmd)
145
+ end # def _time
146
+
147
+ def _parameters(cmd, *args)
148
+ requires_version(cmd, 4.4)
149
+
150
+ @iface.call(cmd)
151
+ end # def _parameters
152
+
153
+ def __last_audit_time(cmd, *args)
154
+ requires_version(cmd, 4.4)
155
+
156
+ # FIXME
157
+ end # def _last_audit_time
158
+
159
+ end # class Bugzilla
160
+
161
+ end # module Bugzilla
@@ -0,0 +1,77 @@
1
+ # classification.rb
2
+ # Copyright (C) 2010-2012 Red Hat, Inc.
3
+ #
4
+ # Authors:
5
+ # Akira TAGOH <tagoh@redhat.com>
6
+ #
7
+ # This library is free software: you can redistribute it and/or
8
+ # modify it under the terms of the GNU Lesser General Public
9
+ # License as published by the Free Software Foundation, either
10
+ # version 3 of the License, or (at your option) any later version.
11
+ #
12
+ # This library is distributed in the hope that it will be useful,
13
+ # but WITHOUT ANY WARRANTY; without even the implied warranty of
14
+ # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15
+ # GNU General Public License for more details.
16
+ #
17
+ # You should have received a copy of the GNU General Public License
18
+ # along with this program. If not, see <http://www.gnu.org/licenses/>.
19
+
20
+ require 'bugzilla/api_tmpl'
21
+
22
+ module Bugzilla
23
+
24
+ =begin rdoc
25
+
26
+ === Bugzilla::Classification
27
+
28
+ Bugzilla::Classification class is to access
29
+ the Bugzilla::WebService::Classification API that allows you
30
+ to deal with the available Classifications.
31
+
32
+ =end
33
+
34
+ class Classification < APITemplate
35
+
36
+ =begin rdoc
37
+
38
+ ==== Bugzilla::Classification#get(params)
39
+
40
+ Raw Bugzilla API to obtain the information about a set of
41
+ classifications.
42
+
43
+ See http://www.bugzilla.org/docs/tip/en/html/api/Bugzilla/WebService/Classification.html
44
+
45
+ =end
46
+
47
+ protected
48
+
49
+ def _get(cmd, args[0])
50
+ requires_version(cmd, 4.4)
51
+
52
+ params = {}
53
+
54
+ if ids.kind_of?(Hash) then
55
+ raise ArgumentError, sprintf("Invalid parameter: %s", ids.inspect) unless ids.include?('ids') || ids.include?('names')
56
+ params[:ids] = ids['ids'] || ids['names']
57
+ elsif ids.kind_of?(Array) then
58
+ r = ids.map {|x| x.kind_of?(Integer) ? x : nil}.compact
59
+ if r.length != ids.length then
60
+ params[:names] = ids
61
+ else
62
+ params[:ids] = ids
63
+ end
64
+ else
65
+ if ids.kind_of?(Integer) then
66
+ params[:ids] = [ids]
67
+ else
68
+ params[:names] = [ids]
69
+ end
70
+ end
71
+
72
+ @iface.call(cmd, params)
73
+ end # def _get
74
+
75
+ end # class Classification
76
+
77
+ end # module Bugzilla
@@ -0,0 +1,48 @@
1
+ # group.rb
2
+ # Copyright (C) 2010-2012 Red Hat, Inc.
3
+ #
4
+ # Authors:
5
+ # Akira TAGOH <tagoh@redhat.com>
6
+ #
7
+ # This library is free software: you can redistribute it and/or
8
+ # modify it under the terms of the GNU Lesser General Public
9
+ # License as published by the Free Software Foundation, either
10
+ # version 3 of the License, or (at your option) any later version.
11
+ #
12
+ # This library is distributed in the hope that it will be useful,
13
+ # but WITHOUT ANY WARRANTY; without even the implied warranty of
14
+ # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15
+ # GNU General Public License for more details.
16
+ #
17
+ # You should have received a copy of the GNU General Public License
18
+ # along with this program. If not, see <http://www.gnu.org/licenses/>.
19
+
20
+ require 'bugzilla/api_tmpl'
21
+
22
+ module Bugzilla
23
+
24
+ =begin rdoc
25
+
26
+ === Bugzilla::Group
27
+
28
+ Bugzilla::Group class is to access
29
+ the Bugzilla::WebService::Group API that allows you to
30
+ create Groups and get information about them.
31
+
32
+ =end
33
+
34
+ class Group < APITemplate
35
+
36
+ protected
37
+
38
+ def __create(cmd, *args)
39
+ # FIXME
40
+ end # def _create
41
+
42
+ def __update(cmd, *args)
43
+ # FIXME
44
+ end # def _update
45
+
46
+ end # class Group
47
+
48
+ end # module Bugzilla