lib/yoti/configuration.rb in yoti-1.9.0 vs lib/yoti/configuration.rb in yoti-1.10.0
- old
+ new
@@ -54,10 +54,10 @@
def validate_required_any(required_configs)
valid = required_configs.select { |config| config_set?(config) }
return if valid.any?
- config_list = required_configs.map { |conf| '`' + conf + '`' }.join(', ')
+ config_list = required_configs.map { |conf| "`#{conf}`" }.join(', ')
message = "At least one of the configuration values has to be set: #{config_list}."
raise ConfigurationError, message
end
# Raises an error if the setting receives an invalid value