module EntitySnapshot::Recorded::Serializer

Public Class Methods

instance(raw_data) click to toggle source
# File lib/entity_snapshot/event_store/recorded.rb, line 13
def self.instance(raw_data)
  Message.build raw_data
end
raw_data(instance) click to toggle source
# File lib/entity_snapshot/event_store/recorded.rb, line 9
def self.raw_data(instance)
  instance.to_h
end