view .svn/pristine/e6/e624df73a2893e853586ba7b21ef62faee548715.svn-base @ 1516:b450a9d58aed redmine-2.4

Update to Redmine SVN revision 13356 on 2.4-stable branch
author Chris Cannam
date Tue, 09 Sep 2014 09:28:31 +0100
parents 038ba2d95de8
children
line wrap: on
line source
api.array @klass.name.underscore.pluralize do
  @enumerations.each do |enumeration|
    api.__send__ @klass.name.underscore do
      api.id enumeration.id
      api.name enumeration.name
      api.is_default enumeration.is_default
    end
  end
end