module EntitySnapshot::EventStore::Controls::Entity::Data

Public Class Methods

example(some_attribute=nil) click to toggle source
# File lib/entity_snapshot/event_store/controls/entity.rb, line 38
def self.example(some_attribute=nil)
  some_attribute ||= RandomValue.example

  {
    some_attribute: some_attribute,
    some_time: Time::ISO8601.example
  }
end