Sha256: eab786cef9a5b55ee828d28a1fbbcde445d1a5b9ec83c2021de885ea584c0032
Contents?: true
Size: 862 Bytes
Versions: 9
Compression:
Stored size: 862 Bytes
Contents
module GitHub class Ldap module MemberSearch class Base # Internal: The GitHub::Ldap object to search domains with. attr_reader :ldap # Public: Instantiate new search strategy. # # - ldap: GitHub::Ldap object # - options: Hash of options def initialize(ldap, options = {}) @ldap = ldap @options = options end # Public: Abstract: Performs search for group members. # # Returns Array of Net::LDAP::Entry objects. # def perform(entry) # end # Internal: Domains to search through. # # Returns an Array of GitHub::Ldap::Domain objects. def domains @domains ||= ldap.search_domains.map { |base| ldap.domain(base) } end private :domains end end end end
Version data entries
9 entries across 9 versions & 1 rubygems