Sha256: a4a779c8a5dc2232bc529bb8909db3b8d851dda10b7dba33bdd8c6838aac18af

Contents?: true

Size: 397 Bytes

Versions: 3

Compression:

Stored size: 397 Bytes

Contents

# frozen_string_literal: true

require_relative '../plain_listener'

class PgExport
  module Listeners
    class Plain
      class RemoveOldDumpsFromFtp < PlainListener
        def on_step_succeeded(event)
          event[:value][:removed_dumps].each do |filename|
            logger.info("Remove #{filename} from #{event[:value][:gateway]}")
          end
        end
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
pg_export-1.0.0.rc3 lib/pg_export/lib/pg_export/listeners/plain/remove_old_dumps_from_ftp.rb
pg_export-1.0.0.rc2 lib/pg_export/lib/pg_export/listeners/plain/remove_old_dumps_from_ftp.rb
pg_export-1.0.0.rc1 lib/pg_export/lib/pg_export/listeners/plain/remove_old_dumps_from_ftp.rb