Class: Threatinator::Output

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

Defined Under Namespace

Classes: Config

Instance Method Summary collapse

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

#finishObject

Raises:

  • (NotImplementedError)


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

Raises:

  • (NotImplementedError)


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