Class: PgExport::Listeners::Plain::RemoveOldDumps
- Inherits:
-
PgExport::Listeners::PlainListener
- Object
- PgExport::Listeners::PlainListener
- PgExport::Listeners::Plain::RemoveOldDumps
- Defined in:
- lib/pg_export/listeners/plain/remove_old_dumps.rb
Instance Method Summary collapse
Methods inherited from PgExport::Listeners::PlainListener
#initialize, #on_step, #on_step_failed
Constructor Details
This class inherits a constructor from PgExport::Listeners::PlainListener
Instance Method Details
#on_step_succeeded(event) ⇒ Object
9 10 11 12 13 |
# File 'lib/pg_export/listeners/plain/remove_old_dumps.rb', line 9 def on_step_succeeded(event) event[:value][:removed_dumps].each do |filename| logger.info("Remove #{filename} from #{event[:value][:gateway]}") end end |