demarches-normaliennes/app/serializers/service_serializer.rb

13 lines
377 B
Ruby
Raw Normal View History

# frozen_string_literal: true
class ServiceSerializer < ActiveModel::Serializer
2019-09-10 10:48:11 +02:00
attributes :id, :email
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
end