Module: EntitySnapshot::Postgres::Controls::EntityStore::Assurance
- Defined in:
- lib/entity_snapshot/postgres/controls/entity_store.rb
Defined Under Namespace
Classes: Example
Class Method Summary collapse
Class Method Details
.example(snapshot_class: nil, snapshot_interval: nil) ⇒ Object
16 17 18 19 20 21 |
# File 'lib/entity_snapshot/postgres/controls/entity_store.rb', line 16 def self.example(snapshot_class: nil, snapshot_interval: nil) Example.new.tap do |instance| instance.snapshot_class = snapshot_class instance.snapshot_interval = snapshot_interval end end |