Method: Architect4r::Core::Configuration#host

Defined in:
lib/architect4r/core/configuration.rb

#hostObject



35
36
37
38
39
40
41
42
# File 'lib/architect4r/core/configuration.rb', line 35

def host
  unless defined?(@hostname)
    @hostname   = neo4j_url.host if neo4j_url
    @hostname ||= custom_configuration_from_key('host')
    @hostname ||= default_hostname
  end
  @hostname
end