module Consumer::Postgres::Controls::StreamName::Position
Public Class Methods
example(id: nil, category: nil, types: nil)
click to toggle source
# File lib/consumer/postgres/controls/stream_name.rb, line 8 def self.example(id: nil, category: nil, types: nil) category ||= Controls::Category.example(category: category) types ||= [] types << 'position' Messaging::Controls::StreamName.example( id: id, category: category, types: types ) end