Sha256: 1f7804e8b71cb49ebe0799ddd4497d6ac8727b5215aabee1c1495dd96e9fe92a

Contents?: true

Size: 405 Bytes

Versions: 5

Compression:

Stored size: 405 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 GatewayDumpFileRepository
      def by_name(name:, gateway:)
        file = ValueObjects::DumpFile.new
        gateway.get(file, name)

        file
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
pg_export-1.0.0.rc5 lib/pg_export/lib/pg_export/repositories/gateway_dump_file_repository.rb
pg_export-1.0.0.rc4 lib/pg_export/lib/pg_export/repositories/gateway_dump_file_repository.rb
pg_export-1.0.0.rc3 lib/pg_export/lib/pg_export/repositories/gateway_dump_file_repository.rb
pg_export-1.0.0.rc2 lib/pg_export/lib/pg_export/repositories/gateway_dump_file_repository.rb
pg_export-1.0.0.rc1 lib/pg_export/lib/pg_export/repositories/gateway_dump_file_repository.rb