afimb/chouette2

View on GitHub
app/views/api/v1/group_of_lines/show.rabl

Summary

Maintainability
Test Coverage
object @group_of_line
extends "api/v1/trident_objects/show"

[ :creator_id, :name].each do |attr|
  attributes attr, :unless => lambda { |m| m.send( attr).nil?}
end