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

7 lines
182 B
Ruby

# frozen_string_literal: true
class REST::StatusEditSerializer < ActiveModel::Serializer
attributes :text, :spoiler_text, :media_attachments_changed,
:created_at
end