Module: EventStore::HTTP::Controls::Stream

Defined in:
lib/event_store/http/controls/stream.rb

Class Method Summary collapse

Class Method Details

.example(random: nil) ⇒ Object



5
6
7
8
9
10
11
12
13
# 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