Module: ActiveLdap::Validations::ClassMethods

Defined in:
lib/active_ldap/validations.rb

Instance Method Summary collapse

Instance Method Details

#attribute_method?(attribute) ⇒ Boolean

Returns:

  • (Boolean)


7
8
9
10
# File 'lib/active_ldap/validations.rb', line 7

def attribute_method?(attribute)
  normalized_attribute = entry_attribute.normalize(attribute)
  normalized_attribute and normalized_attribute != "objectClass"
end