discourse/app/models/user_field_serializer.rb

8 lines
192 B
Ruby

class UserFieldSerializer < ApplicationSerializer
attributes :id,
:name,
:description,
:field_type,
:editable,
:required
end