mirror of
https://github.com/lunaisnotaboy/mastodon.git
synced 2024-08-21 07:44:37 +00:00
11 lines
215 B
Ruby
11 lines
215 B
Ruby
# frozen_string_literal: true
|
|
|
|
class REST::FilterSerializer < ActiveModel::Serializer
|
|
attributes :id, :phrase, :context, :whole_word, :expires_at,
|
|
:irreversible
|
|
|
|
def id
|
|
object.id.to_s
|
|
end
|
|
end
|