Method: EntitySnapshot::Postgres::Controls::Entity.example

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

.exampleObject


5
6
7
8
9
10
11
12
# File 'lib/entity_snapshot/postgres/controls/entity.rb', line 5

def self.example
  attributes = {
    :some_attribute => RandomValue.example,
    :some_time => Time::Raw.example
  }

  Example.build(attributes)
end