Class: BeetleETL::Reporter

Inherits:
Object
  • Object
show all
Defined in:
lib/beetle_etl/reporter.rb

Instance Method Summary collapse

Constructor Details

#initialize(config, report) ⇒ Reporter

Returns a new instance of Reporter.



4
5
6
7
# File 'lib/beetle_etl/reporter.rb', line 4

def initialize(config, report)
  @config = config
  @report = report
end

Instance Method Details

#log_summaryObject



9
10
11
# File 'lib/beetle_etl/reporter.rb', line 9

def log_summary
  @config.logger.info(summary)
end