demarches-normaliennes/app/serializers/dossier_serializer.rb
Tanguy PATTE dc5ac9807d start api to display dossier
missing pj, fields, exercices
2016-01-25 16:08:10 +01:00

11 lines
No EOL
247 B
Ruby

class DossierSerializer < ActiveModel::Serializer
attributes :id,
:nom_projet,
:description,
:created_at,
:updated_at,
:archived
has_one :entreprise
has_one :etablissement
end