module EntitySnapshot::EventStore::Controls::Entity

Public Class Methods

example() click to toggle source
# File lib/entity_snapshot/event_store/controls/entity.rb, line 5
def self.example
  attributes = {
    :some_attribute => RandomValue.example,
    :some_time => Time::Raw.example
  }

  Example.build(attributes)
end