ruby-net-ldap icon indicating copy to clipboard operation
ruby-net-ldap copied to clipboard

Raises errors when giving encryption as non-Hash object

Open satoryu opened this issue 9 years ago • 1 comments

In #250 , Net::LDAP of the latest version 0.13.0 accepts encryption options on its initializer. It causes an error when creating a connection as reported.

This PR provides a validation which check whether a given encryption option is a Hash or not.

satoryu avatar Jan 13 '16 11:01 satoryu

:+1: it would be nice to validate all given parameters from constructor.

tonobo avatar Jan 13 '16 12:01 tonobo