Sha256: f4f69a4a12a2356d96d232ed0dd0afd6b6f2f47fa771f88b391d5dd172f938cd
Contents?: true
Size: 1015 Bytes
Versions: 9
Compression:
Stored size: 1015 Bytes
Contents
# frozen_string_literal: true # Backward compatible delegators from Net::IMAP to Net::IMAP::SASL. module Net::IMAP::Authenticators # Deprecated. Use Net::IMAP::SASL.add_authenticator instead. 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 # Deprecated. Use Net::IMAP::SASL.authenticator instead. 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 Net::IMAP.extend self end class Net::IMAP PlainAuthenticator = SASL::PlainAuthenticator # :nodoc: deprecate_constant :PlainAuthenticator XOauth2Authenticator = SASL::XOAuth2Authenticator # :nodoc: deprecate_constant :XOauth2Authenticator end
Version data entries
9 entries across 8 versions & 2 rubygems