Sha256: 43348f2e05d9af98a20e767c624b9ac16a90b1bce9ce17fde6e6b0c073e6dd32
Contents?: true
Size: 482 Bytes
Versions: 1
Compression:
Stored size: 482 Bytes
Contents
# frozen_string_literal: true require 'pg_export/lib/pg_export/value_objects/result' class PgExport module Operations class EncryptDump def initialize(cipher_factory:) @cipher_factory = cipher_factory end def name :encrypt_dump end def call(dump:) dump.encrypt(cipher_factory: cipher_factory) ValueObjects::Success.new(dump: dump) end private attr_reader :cipher_factory 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/operations/encrypt_dump.rb |