Method: EntitySnapshot::Postgres::ReadOnly.assure

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

.assure(store) ⇒ Object



29
30
31
32
33
# File 'lib/entity_snapshot/postgres/read_only.rb', line 29

def self.assure(store)
  if store.snapshot_class.nil?
    raise EntityCache::Store::External::Error
  end
end