* Add option to not consider word boundaries when filtering phrases * Add a few tests for keyword/phrase filtering
6 lines
180 B
Ruby
6 lines
180 B
Ruby
# frozen_string_literal: true
|
|
|
|
class REST::FilterSerializer < ActiveModel::Serializer
|
|
attributes :id, :phrase, :context, :whole_word, :expires_at,
|
|
:irreversible
|
|
end
|