view .svn/pristine/eb/ebee8a410024219711aabb821001f5959f452cfb.svn-base @ 1433:cfa80f738847 bibliography_testing

Fixed assertion error message.
author luisf <luis.figueira@eecs.qmul.ac.uk>
date Tue, 08 Oct 2013 17:29:47 +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