class RubyEventStore::Protobuf::Mappers::Protobuf
Public Class Methods
new(events_class_remapping: {})
click to toggle source
Calls superclass method
# File lib/ruby_event_store/protobuf/mappers/protobuf.rb, line 13 def initialize(events_class_remapping: {}) super(RubyEventStore::Mappers::Pipeline.new( Transformation::ProtobufEncoder.new, RubyEventStore::Mappers::Transformation::EventClassRemapper.new(events_class_remapping), Transformation::ProtobufNestedStructMetadata.new, to_domain_event: Transformation::ProtoEvent.new, )) end