2019-09-09 16:18:42 +02:00
|
|
|
class ServiceSerializer < ActiveModel::Serializer
|
2019-09-10 10:48:11 +02:00
|
|
|
attributes :id, :email
|
2019-09-09 16:18:42 +02:00
|
|
|
attribute :nom, key: :name
|
|
|
|
attribute :type_organisme, key: :type_organization
|
|
|
|
attribute :organisme, key: :organization
|
|
|
|
attribute :telephone, key: :phone
|
|
|
|
attribute :horaires, key: :schedule
|
|
|
|
attribute :adresse, key: :address
|
|
|
|
end
|