Class: Threatinator::Filter

Inherits:
Object
  • Object
show all
Defined in:
lib/threatinator/filter.rb

Overview

Acts as a filter for parser data.

Instance Method Summary collapse

Instance Method Details

#filter?(record) ⇒ Boolean

What is passed in as arguments depends upon the parser.

Parameters:

Returns:

  • (Boolean)

    true if filtered, false otherwise.

Raises:

  • (NotImplementedError)


8
9
10
# File 'lib/threatinator/filter.rb', line 8

def filter?(record)
  raise NotImplementedError.new("#{self.class}.filter?(record) not implemented")
end