]> git.openstreetmap.org Git - rails.git/blob - lib/spam_scorer.rb
Use spammy phrases from DB
[rails.git] / lib / spam_scorer.rb
1 # frozen_string_literal: true
2
3 module SpamScorer
4   def self.new_from_rich_text(text)
5     self::RichText.new(text)
6   end
7
8   def self.new_from_user(user)
9     self::User.new(user)
10   end
11 end