Module: RubyCqrs::Domain::Event

Includes:
RubyCqrs::Data::Encodable
Defined in:
lib/ruby_cqrs/domain/event.rb

Instance Attribute Summary collapse

Method Summary

Methods included from RubyCqrs::Data::Encodable

#try_encode

Instance Attribute Details

#aggregate_idObject (readonly)

Returns the value of attribute aggregate_id.



8
9
10
# File 'lib/ruby_cqrs/domain/event.rb', line 8

def aggregate_id
  @aggregate_id
end

#versionObject (readonly)

Returns the value of attribute version.



8
9
10
# File 'lib/ruby_cqrs/domain/event.rb', line 8

def version
  @version
end