Module: EventStore::HTTP::Connect::Controls::Hostname

Defined in:
lib/event_store/http/connect/controls/hostname.rb

Defined Under Namespace

Modules: Localhost, Other

Class Method Summary collapse

Class Method Details

.example(suffix = nil) ⇒ Object



6
7
8
9
10
11
12
# File 'lib/event_store/http/connect/controls/hostname.rb', line 6

def self.example(suffix=nil)
  if suffix.nil?
    'eventstore.local'
  else
    "eventstore-#{suffix}.local"
  end
end