check_auth_method(type)
private
Hide source
# File lib/net/smtp.rb, line 765 def check_auth_method(type) unless respond_to?(auth_method(type), true) raise ArgumentError, "wrong authentication type #{type}" end end