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