class RubyEventStore::Mappers::EncryptionMapper

Public Class Methods

new(key_repository, serializer: Serializers::YAML, forgotten_data: ForgottenData.new) click to toggle source
Calls superclass method
# File lib/ruby_event_store/mappers/encryption_mapper.rb, line 6
def initialize(key_repository, serializer: Serializers::YAML, forgotten_data: ForgottenData.new)
  super(
    Pipeline.new(
      Transformation::Encryption.new(key_repository, serializer: serializer, forgotten_data: forgotten_data),
      Transformation::SymbolizeMetadataKeys.new
    )
  )
end