# File lib/smart_proxy_dhcp_device42/scheme_validator.rb, line 3 def validate!(settings) return true if ['http', 'https'].include?(settings[:scheme]) raise ::Proxy::Error::ConfigurationError, "Setting 'scheme' can be set to either 'http' or 'https'" end