Module: EntitySnapshot::Postgres::Controls::Entity::Data

Defined in:
lib/entity_snapshot/postgres/controls/entity.rb

Class Method Summary collapse

Class Method Details

.example(some_attribute = nil) ⇒ Object



38
39
40
41
42
43
44
45
# File 'lib/entity_snapshot/postgres/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