Class: KU::LDAP::Entry::Group
- Inherits:
-
Base
- Object
- Base
- KU::LDAP::Entry::Group
show all
- Defined in:
- lib/ku/ldap/entry/group.rb
Constant Summary
Constants inherited
from Base
Base::BASE
Instance Method Summary
collapse
Methods inherited from Base
#==, first, #initialize, search
Instance Method Details
#description ⇒ Object
12
13
14
|
# File 'lib/ku/ldap/entry/group.rb', line 12
def description
self[:description]
end
|
#id ⇒ Object
8
9
10
|
# File 'lib/ku/ldap/entry/group.rb', line 8
def id
self[:cn]
end
|
#member?(id) ⇒ Boolean
20
21
22
|
# File 'lib/ku/ldap/entry/group.rb', line 20
def member? id
members.include? id
end
|
#members ⇒ Object
16
17
18
|
# File 'lib/ku/ldap/entry/group.rb', line 16
def members
@entry[:memberuid]
end
|