Class: EventSorcerer::EventStream
- Inherits:
-
Struct
- Object
- Struct
- EventSorcerer::EventStream
- Defined in:
- lib/event_sorcerer/event_stream.rb
Overview
Public: Simple value object representing an event stream.
Instance Attribute Summary collapse
-
#current_version ⇒ Object
Returns the value of attribute current_version.
-
#events ⇒ Object
Returns the value of attribute events.
-
#id ⇒ Object
Returns the value of attribute id.
Instance Attribute Details
#current_version ⇒ Object
Returns the value of attribute current_version
3 4 5 |
# File 'lib/event_sorcerer/event_stream.rb', line 3 def current_version @current_version end |
#events ⇒ Object
Returns the value of attribute events
3 4 5 |
# File 'lib/event_sorcerer/event_stream.rb', line 3 def events @events end |
#id ⇒ Object
Returns the value of attribute id
3 4 5 |
# File 'lib/event_sorcerer/event_stream.rb', line 3 def id @id end |