class

FilterTerm

Inherits Ktistec::Model::Common < Ktistec::Model < Reference < Object

Filter term.

Class methods

match?(actor : ActivityPub::Actor, content : String | Nil) : Bool

Returns true if any of the actor's filter terms match the given content.

The content is HTML-stripped before matching, and each term is a SQL LIKE pattern.

Source

Instance methods

_association_actor
Source
_belongs_to_setter_for_actor(actor_ : ActivityPub::Actor, update_associations = true) : ActivityPub::Actor
Source
actor(include_deleted : Bool = false, include_undone : Bool = false) : ActivityPub::Actor
Source
actor?(include_deleted : Bool = false, include_undone : Bool = false) : ActivityPub::Actor | Nil
Source
actor_id
Source
actor_id=(actor_id : Int64 | Nil)
Source
iri

for compatibility with the ActivityPub collection view

Source
term
Source
term=(term : String)
Source