Module: EventStore::HTTP::Controls::Hostname::Cluster::Available::Member

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

Class Method Summary collapse

Class Method Details

.example(member_index = nil) ⇒ Object



28
29
30
31
32
# File 'lib/event_store/http/controls/hostname/cluster.rb', line 28

def self.example(member_index=nil)
  member_index ||= 1

  "eventstore-cluster-#{member_index}.local"
end