mirror of
https://github.com/mastodon/mastodon.git
synced 2026-04-26 01:43:00 -05:00
10 lines
204 B
Ruby
10 lines
204 B
Ruby
# frozen_string_literal: true
|
|
|
|
class REST::Admin::AccountWarningPresetSerializer < ActiveModel::Serializer
|
|
attributes :id, :text, :title, :created_at, :updated_at
|
|
|
|
def id
|
|
object.id.to_s
|
|
end
|
|
end
|