Class: RubyEventStore::ROM::Mappers::StreamEntryToSerializedRecord
- Inherits:
-
ROM::Transformer
- Object
- ROM::Transformer
- RubyEventStore::ROM::Mappers::StreamEntryToSerializedRecord
- Defined in:
- lib/ruby_event_store/rom/mappers/stream_entry_to_serialized_record.rb
Instance Method Summary collapse
Instance Method Details
#create_serialized_record(attributes) ⇒ Object
19 20 21 |
# File 'lib/ruby_event_store/rom/mappers/stream_entry_to_serialized_record.rb', line 19 def create_serialized_record(attributes) RubyEventStore::SerializedRecord.new(**attributes) end |