2024-04-29 00:17:15 +02:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
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
|
2022-07-19 14:42:30 +02:00
|
|
|
attribute :siret, key: :siret
|
2019-09-09 16:18:42 +02:00
|
|
|
end
|