Class: RubyEventStore::ROM::Mappers::EventToSerializedRecord

Inherits:
ROM::Transformer
  • Object
show all
Defined in:
lib/ruby_event_store/rom/mappers/event_to_serialized_record.rb

Instance Method Summary collapse

Instance Method Details

#create_serialized_record(attributes) ⇒ Object



18
19
20
# File 'lib/ruby_event_store/rom/mappers/event_to_serialized_record.rb', line 18

def create_serialized_record(attributes)
  RubyEventStore::SerializedRecord.new(**attributes)
end