Class: GitHub::Ldap::MemberSearch::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/github/ldap/member_search/base.rb

Direct Known Subclasses

ActiveDirectory, Classic, Recursive

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(ldap, options = {}) ⇒ Base

Public: Instantiate new search strategy.

  • ldap: GitHub::Ldap object

  • options: Hash of options



13
14
15
16
# File 'lib/github/ldap/member_search/base.rb', line 13

def initialize(ldap, options = {})
  @ldap    = ldap
  @options = options
end

Instance Attribute Details

#ldapObject (readonly)

Internal: The GitHub::Ldap object to search domains with.



7
8
9
# File 'lib/github/ldap/member_search/base.rb', line 7

def ldap
  @ldap
end