Sha256: da2a0ce41af190ffe1bc9a6d7bca8d08968084f0dc2a80a8e7d3779b3b070f09
Contents?: true
Size: 445 Bytes
Versions: 8
Compression:
Stored size: 445 Bytes
Contents
# frozen_string_literal: true require 'dry/transaction/operation' require 'pg_export/import' class PgExport module Operations class OpenFtpConnection include Dry::Transaction::Operation include Import['factories.ftp_adapter_factory'] def call(inputs) ftp_adapter = ftp_adapter_factory.ftp_adapter ftp_adapter.open_ftp Success(inputs.merge(ftp_adapter: ftp_adapter)) end end end end
Version data entries
8 entries across 8 versions & 1 rubygems