Module: EventStore::Cluster::LeaderStatus::GossipEndpoint::Get::LogAttributes
- Defined in:
- lib/event_store/cluster/leader_status/gossip_endpoint/get.rb
Class Method Summary collapse
Class Method Details
.get(get_instance, host: nil) ⇒ Object
77 78 79 80 81 82 83 84 85 86 87 88 89 |
# File 'lib/event_store/cluster/leader_status/gossip_endpoint/get.rb', line 77 def self.get(get_instance, host: nil) host_setting = get_instance.connect_http.host if host.nil? host_text = host_setting else host_text = "#{host} [Overriding setting: [#{host_setting}]]" end get_instance.instance_exec do "Host: #{host_text}" end end |