mirror of
https://framagit.org/tykayn/mastodon.git
synced 2023-08-25 08:33:12 +02:00
1ca4e51eb3
* Add option to not consider word boundaries when filtering phrases * Add a few tests for keyword/phrase filtering
7 lines
180 B
Ruby
7 lines
180 B
Ruby
# frozen_string_literal: true
|
|
|
|
class REST::FilterSerializer < ActiveModel::Serializer
|
|
attributes :id, :phrase, :context, :whole_word, :expires_at,
|
|
:irreversible
|
|
end
|