class Proxy::DHCP::BlueCat::ParentBlockValidator

Public Instance Methods

validate!(settings) click to toggle source
# File lib/smart_proxy_dhcp_bluecat/settings_validator.rb, line 23
def validate!(settings)
  return true if settings[:parent_block].is_a?(Integer)
  raise ::Proxy::Error::ConfigurationError, "Setting 'parent_block' must be (integer)"
end