Class: RubyEventStore::Mappers::Default
- Inherits:
-
PipelineMapper
- Object
- PipelineMapper
- RubyEventStore::Mappers::Default
- Defined in:
- lib/ruby_event_store/mappers/default.rb
Direct Known Subclasses
Instance Method Summary collapse
-
#initialize(events_class_remapping: {}) ⇒ Default
constructor
A new instance of Default.
Methods inherited from PipelineMapper
#event_to_record, #record_to_event
Constructor Details
#initialize(events_class_remapping: {}) ⇒ Default
Returns a new instance of Default.
6 7 8 9 10 11 12 13 |
# File 'lib/ruby_event_store/mappers/default.rb', line 6 def initialize(events_class_remapping: {}) super( Pipeline.new( Transformation::EventClassRemapper.new(events_class_remapping), Transformation::SymbolizeMetadataKeys.new ) ) end |