Skip to content

Commit

Permalink
Merge pull request #67 from nevans/sasl/remove-unused-auth_method
Browse files Browse the repository at this point in the history
Remove unused private `auth_method`
  • Loading branch information
tmtm authored Oct 15, 2023
2 parents 808cc3f + 2f3db3b commit c41e299
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions lib/net/smtp.rb
Original file line number Diff line number Diff line change
Expand Up @@ -846,10 +846,6 @@ def check_auth_method(type)
end
end

def auth_method(type)
"auth_#{type.to_s.downcase}".intern
end

def check_auth_args(user, secret, authtype = DEFAULT_AUTH_TYPE)
unless user
raise ArgumentError, 'SMTP-AUTH requested but missing user name'
Expand Down

0 comments on commit c41e299

Please sign in to comment.