lib/uri/ldaps.rb in uri-0.10.3 vs lib/uri/ldaps.rb in uri-0.11.0
- old
+ new
@@ -15,7 +15,8 @@
# see URI::LDAP.
class LDAPS < LDAP
# A Default port of 636 for URI::LDAPS
DEFAULT_PORT = 636
end
- @@schemes['LDAPS'] = LDAPS
+
+ register_scheme 'LDAPS', LDAPS
end