demarches-normaliennes/app/serializers/champ_public_serializer.rb

5 lines
No EOL
103 B
Ruby

class ChampPublicSerializer < ActiveModel::Serializer
attributes :value
has_one :type_de_champ
end