Module: Consumer::Postgres::Controls::StreamName::Position::Category
- Defined in:
- lib/consumer/postgres/controls/stream_name.rb
Class Method Summary collapse
Class Method Details
.example(category: nil) ⇒ Object
21 22 23 24 25 26 27 |
# File 'lib/consumer/postgres/controls/stream_name.rb', line 21 def self.example(category: nil) category = Controls::Category.example category: category position_type = 'position' MessageStore::StreamName.stream_name(category, type: position_type) end |