Sha256: 85cc138875e30a53a30386d00deb4152fa00ce923a545bab893d82e580b6dd61
Contents?: true
Size: 375 Bytes
Versions: 13
Compression:
Stored size: 375 Bytes
Contents
# frozen_string_literal: true require 'dry/transaction/operation' require 'pg_export/import' class PgExport module Operations class EncryptDump include Dry::Transaction::Operation include Import['factories.cipher_factory'] def call(dump:) dump.encrypt(cipher_factory: cipher_factory) Success(dump: dump) end end end end
Version data entries
13 entries across 13 versions & 1 rubygems