class EntitySnapshot::Postgres::ReadOnly
Attributes
session[RW]
Public Class Methods
assure(store)
click to toggle source
# File lib/entity_snapshot/postgres/read_only.rb, line 25 def self.assure(store) if store.snapshot_class.nil? raise EntityCache::Store::External::Error end end
Public Instance Methods
category()
click to toggle source
# File lib/entity_snapshot/postgres/read_only.rb, line 13 def category StreamName.category(entity_class, specifier) end
configure(session: nil)
click to toggle source
# File lib/entity_snapshot/postgres/read_only.rb, line 17 def configure(session: nil) MessageStore::Postgres::Session.configure(self, session: session) MessageStore::Postgres::Get::Stream::Last.configure(self, session: self.session, attr_name: :read) end
put(*)
click to toggle source
# File lib/entity_snapshot/postgres/read_only.rb, line 22 def put(*) end