Class: BeetleETL::Reporter
- Inherits:
-
Object
- Object
- BeetleETL::Reporter
- Defined in:
- lib/beetle_etl/reporter.rb
Instance Method Summary collapse
-
#initialize(config, report) ⇒ Reporter
constructor
A new instance of Reporter.
- #log_summary ⇒ Object
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_summary ⇒ Object
9 10 11 |
# File 'lib/beetle_etl/reporter.rb', line 9 def log_summary @config.logger.info(summary) end |