Sha256: 4b8beb3ff965403ece5af085aaaa81da5364df3e77103d452b8ed4068c24f230
Contents?: true
Size: 640 Bytes
Versions: 8
Compression:
Stored size: 640 Bytes
Contents
module Euston module EventStore # Represents a materialized view of a stream at specific revision. class Snapshot def initialize(stream_id, stream_revision, payload) @stream_id = stream_id @stream_revision = stream_revision @payload = payload end # Gets the value which uniquely identifies the stream to which the snapshot applies. attr_reader :stream_id # Gets the position at which the snapshot applies. attr_reader :stream_revision # Gets the snapshot or materialized view of the stream at the revision indicated. attr_reader :payload end end end
Version data entries
8 entries across 8 versions & 1 rubygems