Module: EntitySnapshot::Postgres::StreamName
- Extended by:
- StreamName
- Included in:
- EntitySnapshot::Postgres, StreamName
- Defined in:
- lib/entity_snapshot/postgres/stream_name.rb
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.included(cls) ⇒ Object
6 7 8 9 10 |
# File 'lib/entity_snapshot/postgres/stream_name.rb', line 6 def self.included(cls) cls.class_exec do include Messaging::StreamName end end |
Instance Method Details
#snapshot_stream_name(id, category = nil) ⇒ Object
12 13 14 |
# File 'lib/entity_snapshot/postgres/stream_name.rb', line 12 def snapshot_stream_name(id, category=nil) stream_name(id, category, type: 'snapshot') end |