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

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

Defined Under Namespace

Modules: Data Classes: Example

Class Method Summary collapse

Class Method Details

.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