Class: TCB::EventStore::EventStreamEnvelope
- Inherits:
-
Data
- Object
- Data
- TCB::EventStore::EventStreamEnvelope
- Defined in:
- lib/tcb/event_store/event_stream_envelope.rb
Instance Attribute Summary collapse
-
#event ⇒ Object
readonly
Returns the value of attribute event.
-
#event_id ⇒ Object
readonly
Returns the value of attribute event_id.
-
#occurred_at ⇒ Object
readonly
Returns the value of attribute occurred_at.
-
#stream_id ⇒ Object
readonly
Returns the value of attribute stream_id.
-
#version ⇒ Object
readonly
Returns the value of attribute version.
Instance Attribute Details
#event ⇒ Object (readonly)
Returns the value of attribute event
5 6 7 |
# File 'lib/tcb/event_store/event_stream_envelope.rb', line 5 def event @event end |
#event_id ⇒ Object (readonly)
Returns the value of attribute event_id
5 6 7 |
# File 'lib/tcb/event_store/event_stream_envelope.rb', line 5 def event_id @event_id end |
#occurred_at ⇒ Object (readonly)
Returns the value of attribute occurred_at
5 6 7 |
# File 'lib/tcb/event_store/event_stream_envelope.rb', line 5 def occurred_at @occurred_at end |
#stream_id ⇒ Object (readonly)
Returns the value of attribute stream_id
5 6 7 |
# File 'lib/tcb/event_store/event_stream_envelope.rb', line 5 def stream_id @stream_id end |
#version ⇒ Object (readonly)
Returns the value of attribute version
5 6 7 |
# File 'lib/tcb/event_store/event_stream_envelope.rb', line 5 def version @version end |