Method: EntitySnapshot::Postgres#configure

Defined in:
lib/entity_snapshot/postgres/postgres.rb

#configure(session: nil) ⇒ Object



21
22
23
24
25
# File 'lib/entity_snapshot/postgres/postgres.rb', line 21

def configure(session: nil)
  MessageStore::Postgres::Session.configure(self, session: session)
  MessageStore::Postgres::Put.configure(self, session: self.session, attr_name: :write)
  MessageStore::Postgres::Get::Stream::Last.configure(self, session: self.session, attr_name: :read)
end