glitch-social/app/serializers/rest/list_serializer.rb

6 lines
113 B
Ruby

# frozen_string_literal: true
class REST::ListSerializer < ActiveModel::Serializer
attributes :id, :title
end