module EntitySnapshot::Postgres::Controls::EntityStore::Assurance

Constants

Example

Public Class Methods

example(snapshot_class: nil, snapshot_interval: nil) click to toggle source
# 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