REST Api for Groups (#8981).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9758 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang
2012-06-03 10:40:32 +00:00
parent 3142183b30
commit dd9c2cafa7
8 changed files with 294 additions and 39 deletions
+10
View File
@@ -0,0 +1,10 @@
api.array :groups do
@groups.each do |group|
api.group do
api.id group.id
api.name group.lastname
render_api_custom_values group.visible_custom_field_values, api
end
end
end