Class: TCB::EventStore::EventStreamEnvelope

Inherits:
Data
  • Object
show all
Defined in:
lib/tcb/event_store/event_stream_envelope.rb

Instance Attribute Summary collapse

Instance Attribute Details

#eventObject (readonly)

Returns the value of attribute event

Returns:

  • (Object)

    the current value of event



5
6
7
# File 'lib/tcb/event_store/event_stream_envelope.rb', line 5

def event
  @event
end

#event_idObject (readonly)

Returns the value of attribute event_id

Returns:

  • (Object)

    the current value of event_id



5
6
7
# File 'lib/tcb/event_store/event_stream_envelope.rb', line 5

def event_id
  @event_id
end

#occurred_atObject (readonly)

Returns the value of attribute occurred_at

Returns:

  • (Object)

    the current value of occurred_at



5
6
7
# File 'lib/tcb/event_store/event_stream_envelope.rb', line 5

def occurred_at
  @occurred_at
end

#stream_idObject (readonly)

Returns the value of attribute stream_id

Returns:

  • (Object)

    the current value of stream_id



5
6
7
# File 'lib/tcb/event_store/event_stream_envelope.rb', line 5

def stream_id
  @stream_id
end

#versionObject (readonly)

Returns the value of attribute version

Returns:

  • (Object)

    the current value of version



5
6
7
# File 'lib/tcb/event_store/event_stream_envelope.rb', line 5

def version
  @version
end