Sha256: 41288bdc7494b985c456d95c818a543ddce8afe01175d78d92dc67d81bd62f38
Contents?: true
Size: 437 Bytes
Versions: 5
Compression:
Stored size: 437 Bytes
Contents
# frozen_string_literal: true # auto_register: false require 'pg_export/lib/pg_export/gateways/ftp' require 'pg_export/import' class PgExport module Factories class FtpGatewayFactory include Import['config'] def gateway ::PgExport::Gateways::Ftp.new( host: config.gateway_host, user: config.gateway_user, password: config.gateway_password ) end end end end
Version data entries
5 entries across 5 versions & 1 rubygems