Del SIRET in service for API

This commit is contained in:
pedong 2019-09-10 10:48:11 +02:00 committed by Pierre de La Morinerie
parent 25596ca2f2
commit a7d3bbb8cc

View file

@ -1,5 +1,5 @@
class ServiceSerializer < ActiveModel::Serializer class ServiceSerializer < ActiveModel::Serializer
attributes :id, :siret, :email attributes :id, :email
attribute :nom, key: :name attribute :nom, key: :name
attribute :type_organisme, key: :type_organization attribute :type_organisme, key: :type_organization
attribute :organisme, key: :organization attribute :organisme, key: :organization