# 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