discourse/app/serializers/trust_level_serializer.rb

6 lines
81 B
Ruby

class TrustLevelSerializer < ApplicationSerializer
attributes :id, :name
end