Sha256: a572848cd2a3ae9c6321003f5bb2daa255093a3dd76b0cf88dfbab9b35d0f9e7

Contents?: true

Size: 409 Bytes

Versions: 8

Compression:

Stored size: 409 Bytes

Contents

# frozen_string_literal: true

require 'open3'
require 'pg_export/import'
require 'pg_export/lib/pg_export/entities/dump'
require 'pg_export/lib/pg_export/value_objects/dump_file'

class PgExport
  module Repositories
    class FtpDumpFileRepository
      def by_name(name:, ftp_adapter:)
        file = ValueObjects::DumpFile.new
        ftp_adapter.get(file, name)

        file
      end
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
pg_export-0.7.7 lib/pg_export/lib/pg_export/repositories/ftp_dump_file_repository.rb
pg_export-0.7.6 lib/pg_export/lib/pg_export/repositories/ftp_dump_file_repository.rb
pg_export-0.7.5 lib/pg_export/lib/pg_export/repositories/ftp_dump_file_repository.rb
pg_export-0.7.4 lib/pg_export/lib/pg_export/repositories/ftp_dump_file_repository.rb
pg_export-0.7.3 lib/pg_export/lib/pg_export/repositories/ftp_dump_file_repository.rb
pg_export-0.7.2 lib/pg_export/lib/pg_export/repositories/ftp_dump_file_repository.rb
pg_export-0.7.1 lib/pg_export/lib/pg_export/repositories/ftp_dump_file_repository.rb
pg_export-0.7.0 lib/pg_export/lib/pg_export/repositories/ftp_dump_file_repository.rb