demarches-normaliennes/app/serializers/service_serializer.rb

10 lines
314 B
Ruby
Raw Normal View History

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
end