Class: ActiveLdap::Adapter::Ldap::Method::Plain

Inherits:
Object
  • Object
show all
Defined in:
lib/active_ldap/adapter/ldap.rb

Instance Method Summary collapse

Instance Method Details

#connect(host, port) ⇒ Object



31
32
33
# File 'lib/active_ldap/adapter/ldap.rb', line 31

def connect(host, port)
  LDAP::Conn.new(host, port)
end