city = user&.address&.city || 'unknown' port = config.fetch('port') # raises if absent host = config.fetch('host', 'localhost')