module EventStore::HTTP::Controls::Stream

Public Class Methods

example(random: nil) click to toggle source
# File lib/event_store/http/controls/stream.rb, line 5
def self.example(random: nil)
  random = true if random.nil?

  if random
    "testStream-#{Identifier::UUID::Random.get}"
  else
    "testStream"
  end
end