We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 11ad905 commit 6a2f702Copy full SHA for 6a2f702
1 file changed
lib/net/ldap.rb
@@ -590,6 +590,7 @@ def authenticate(username, password)
590
# }
591
def encryption(args)
592
return if args.nil?
593
+ return @encryption = args if args.is_a? Hash
594
595
case method = args.to_sym
596
when :simple_tls, :start_tls
0 commit comments