Sha256: dd636444c3f8a5e2c54ee71a2ce5d425b21ee9ad71d0ccdf38923088a42576c6
Contents?: true
Size: 462 Bytes
Versions: 1
Compression:
Stored size: 462 Bytes
Contents
# frozen_string_literal: true require 'pg_export/lib/pg_export/gateways/ssh' class PgExport module Factories class SshGatewayFactory def initialize(config:) @config = config end def gateway ::PgExport::Gateways::Ssh.new( host: config.gateway_host, user: config.gateway_user, password: config.gateway_password ) end private attr_reader :config end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
pg_export-1.0.0.rc6 | lib/pg_export/lib/pg_export/factories/ssh_gateway_factory.rb |