Module: ActiveLdap::Validations::ClassMethods — activeldap - ActiveLdap

Module: ActiveLdap::Validations::ClassMethods

Defined in:
lib/active_ldap/validations.rb

Instance Method Summary (collapse)

Instance Method Details

- (Boolean) attribute_method?(attribute)

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