Sha256: daa0109312d664654dd13de9ce9239c7da5eb53e04160829afebed059c3f0611
Contents?: true
Size: 557 Bytes
Versions: 1
Compression:
Stored size: 557 Bytes
Contents
# frozen_string_literal: true require 'pg_export/version' require 'pg_export/configuration' require 'pg_export/factory' class PgExport class InitializationError < StandardError; end attr_reader :config def initialize @config = PgExport::Configuration.build(ENV) @factory = PgExport::Factory.new(config: config) end def call(database_name, &block) factory.transaction.call(database_name: database_name, &block) end def gateway_welcome container.gateway_factory.gateway.welcome end private attr_reader :factory end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
pg_export-1.0.0.rc6 | lib/pg_export.rb |