Module: Net::IMAP::Authenticators
Overview
Backward compatible delegators from Net::IMAP to Net::IMAP::SASL.
Instance Method Summary collapse
-
#add_authenticator ⇒ Object
Deprecated.
-
#authenticator ⇒ Object
Deprecated.
Instance Method Details
#add_authenticator ⇒ Object
Deprecated. Use Net::IMAP::SASL.add_authenticator instead.
7 8 9 10 11 12 13 14 15 |
# File 'lib/net/imap/authenticators.rb', line 7 def add_authenticator(...) warn( "%s.%s is deprecated. Use %s.%s instead." % [ Net::IMAP, __method__, Net::IMAP::SASL, __method__ ], uplevel: 1, category: :deprecated ) Net::IMAP::SASL.add_authenticator(...) end |
#authenticator ⇒ Object
Deprecated. Use Net::IMAP::SASL.authenticator instead.
18 19 20 21 22 23 24 25 26 |
# File 'lib/net/imap/authenticators.rb', line 18 def authenticator(...) warn( "%s.%s is deprecated. Use %s.%s instead." % [ Net::IMAP, __method__, Net::IMAP::SASL, __method__ ], uplevel: 1, category: :deprecated ) Net::IMAP::SASL.authenticator(...) end |