Method: LOM::Mapper#fetch
- Defined in:
- lib/lom/mapper.rb
#fetch(name) ⇒ Object
Fetch the requested entry.
329 330 331 332 333 334 335 |
# File 'lib/lom/mapper.rb', line 329 def fetch(name) dn = ldap_dn_from_id(name) attrs = _ldap_attrs entry = lh.get(:dn => dn, :attributes => attrs) _ldap_to_obj(entry) end |