Class: ActiveLdap::Adapter::Ldap::Method::SSL

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

Instance Method Summary collapse

Instance Method Details

#connect(host, port) ⇒ Object



19
20
21
# File 'lib/active_ldap/adapter/ldap.rb', line 19

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