Sha256: 414f7480bb2587d94049103319767f26dfadcd801cc4d9a8628fd615cc5858f7
Contents?: true
Size: 365 Bytes
Versions: 2
Compression:
Stored size: 365 Bytes
Contents
class PgExport module Bash class Repository def initialize(adapter:, logger:) @adapter, @logger = adapter, logger end def persist(dump, db_name) adapter.persist(dump.path, db_name) logger.info "Persist #{dump} #{db_name} to #{adapter}" end private attr_reader :adapter, :logger end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
pg_export-0.6.1 | lib/pg_export/bash/repository.rb |
pg_export-0.6.0 | lib/pg_export/bash/repository.rb |