module Consumer::Postgres::Controls::Position::Store::Recorded

Public Class Methods

example(position: nil) click to toggle source
# 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