Sha256: e7d5da4a42f3cdaa246fea1895f4e0d4724f904c82acf9383189b3d13c0a78a7

Contents?: true

Size: 378 Bytes

Versions: 1

Compression:

Stored size: 378 Bytes

Contents

# frozen_string_literal: true

require 'open3'
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

1 entries across 1 versions & 1 rubygems

Version Path
pg_export-1.0.0.rc6 lib/pg_export/lib/pg_export/repositories/gateway_dump_file_repository.rb