view .svn/pristine/eb/ebee8a410024219711aabb821001f5959f452cfb.svn-base @ 1327:287f201c2802 redmine-2.2-integration

Add italic
author Chris Cannam <chris.cannam@soundsoftware.ac.uk>
date Wed, 19 Jun 2013 20:56:22 +0100
parents 038ba2d95de8
children
line wrap: on
line source
api.role do
  api.id @role.id
  api.name @role.name
  api.array :permissions do
    @role.permissions.each do |perm|
      api.permission(perm.to_s)
    end
  end
end