method
check_auth_method
v1_9_1_378 -
Show latest stable
- Class:
Net::SMTP
check_auth_method(type)private
No documentation available.
# 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