Sha256: d0d1e6a2d34fc7ec0f1d38500204e7da83cad61694c16ccc4db578c9cb88667c
Contents?: true
Size: 448 Bytes
Versions: 2
Compression:
Stored size: 448 Bytes
Contents
# frozen_string_literal: true require '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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
pg_export-1.0.0 | lib/pg_export/factories/ssh_gateway_factory.rb |
pg_export-1.0.0.rc8 | lib/pg_export/factories/ssh_gateway_factory.rb |