module EntitySnapshot::Postgres::Controls::Snapshot::Put
Public Class Methods
call(id=nil, entity: nil, version: nil, time: nil)
click to toggle source
# File lib/entity_snapshot/postgres/controls/snapshot/put.rb, line 6 def self.call(id=nil, entity: nil, version: nil, time: nil) id ||= ID.example entity ||= Entity.example version ||= Version.example time ||= Time::Raw.example snapshot = Snapshot.example snapshot.put(id, entity, version, time) end