Class: Threatinator::Output
- Inherits:
-
Object
- Object
- Threatinator::Output
- Defined in:
- lib/threatinator/output.rb
Direct Known Subclasses
FileBasedOutput, Plugins::Output::Amqp, Plugins::Output::Json, Plugins::Output::Null
Defined Under Namespace
Classes: Config
Instance Method Summary collapse
- #finish ⇒ Object
- #handle_event(event) ⇒ Object
-
#initialize(config) ⇒ Output
constructor
A new instance of Output.
Constructor Details
#initialize(config) ⇒ Output
Returns a new instance of Output.
5 6 |
# File 'lib/threatinator/output.rb', line 5 def initialize(config) end |
Instance Method Details
#finish ⇒ Object
14 15 16 17 18 |
# File 'lib/threatinator/output.rb', line 14 def finish #:nocov: raise NotImplementedError.new("#{self.class}#finish is not implemented") #:nocov: end |
#handle_event(event) ⇒ Object
8 9 10 11 12 |
# File 'lib/threatinator/output.rb', line 8 def handle_event(event) #:nocov: raise NotImplementedError.new("#{self.class}#handle_event is not implemented") #:nocov: end |