Module: Consumer::Postgres::Controls::Position::Store::Recorded

Defined in:
lib/consumer/postgres/controls/position/store/recorded.rb

Class Method Summary collapse

Class Method Details

.example(position: nil) ⇒ Object



7
8
9
10
11
12
13
# File 'lib/consumer/postgres/controls/position/store/recorded.rb', line 7

def self.example(position: nil)
  position ||= Position.example

  message = PositionStore::Recorded.new
  message.position = position
  message
end