start api to display dossier

missing pj, fields, exercices
This commit is contained in:
Tanguy PATTE 2016-01-25 16:08:10 +01:00
parent 514918b2b8
commit dc5ac9807d
8 changed files with 160 additions and 6 deletions

View file

@ -0,0 +1,14 @@
class EtablissementSerializer < ActiveModel::Serializer
attributes :siret,
:siege_social,
:naf,
:libelle_naf,
:adresse,
:numero_voie,
:type_voie,
:nom_voie,
:complement_adresse,
:code_postal,
:localite,
:code_insee_localite
end