Module: FIDIUS::EvasionDB::TestFetcher

Defined in:
lib/evasion-db/idmef-fetchers/test-fetcher/lib/test_fetcher.rb

Overview

This module is only a sample how a custom fetcher could be implemented.

Instance Method Summary collapse

Instance Method Details

#begin_recordObject



9
10
11
# File 'lib/evasion-db/idmef-fetchers/test-fetcher/lib/test_fetcher.rb', line 9

def begin_record
  $logger.debug "test-fetcher begin record"
end

#config(conf) ⇒ Object



5
6
7
# File 'lib/evasion-db/idmef-fetchers/test-fetcher/lib/test_fetcher.rb', line 5

def config(conf)
  $logger.debug "INIT Test FETCHER"
end

#fetch_events(*args) ⇒ Object



13
14
15
16
# File 'lib/evasion-db/idmef-fetchers/test-fetcher/lib/test_fetcher.rb', line 13

def fetch_events(*args)
  $logger.debug "test-fetcher get events"
  return []
end