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