Module: ROM::LDAP::OpenLdap Private

Defined in:
lib/rom/ldap/directory/vendors/open_ldap.rb

Overview

This module is part of a private API. You should avoid using this module if possible, as it may be removed or be changed in the future.

OpenLDAP Extension

Instance Method Summary collapse

Instance Method Details

#organizationString

Returns:

  • (String)


30
31
32
# File 'lib/rom/ldap/directory/vendors/open_ldap.rb', line 30

def organization
  query(base: contexts[0]).first.first('o')
end

#vendor_nameString

Returns:

  • (String)


14
15
16
# File 'lib/rom/ldap/directory/vendors/open_ldap.rb', line 14

def vendor_name
  'OpenLDAP'
end

#vendor_versionString

Returns:

  • (String)


22
23
24
# File 'lib/rom/ldap/directory/vendors/open_ldap.rb', line 22

def vendor_version
  '0.0'
end