Class: EventSourcing::Aggregate::Manager::Reference

Inherits:
Concurrent::Actor::Reference
  • Object
show all
Defined in:
lib/event_sourcing/aggregate/manager/reference.rb

Instance Method Summary collapse

Instance Method Details

#instance_of(aggregate, id) ⇒ Object



8
9
10
# File 'lib/event_sourcing/aggregate/manager/reference.rb', line 8

def instance_of(aggregate, id)
  EventSourcing::Aggregate::Wrapper.new(self, aggregate, id)
end