Module: EntityProjection::Fixtures::Controls::Event
- Defined in:
- lib/entity_projection/fixtures/controls/event.rb
Defined Under Namespace
Classes: Example
Class Method Summary collapse
Class Method Details
.amount ⇒ Object
20 21 22 |
# File 'lib/entity_projection/fixtures/controls/event.rb', line 20 def self.amount 11 end |
.example ⇒ Object
5 6 7 8 9 10 11 12 13 14 |
# File 'lib/entity_projection/fixtures/controls/event.rb', line 5 def self.example example = Example.new example.example_id = example_id example.amount = 11 example.time = Time::Effective.example example.processed_time = Time::Processed.example example end |
.example_id ⇒ Object
16 17 18 |
# File 'lib/entity_projection/fixtures/controls/event.rb', line 16 def self.example_id Entity.id end |