Last active
July 20, 2024 20:34
-
-
Save njwest/04c9e39fbb08cf1b3d28c21f831a9323 to your computer and use it in GitHub Desktop.
@SPEC example
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@spec allow_login_attempt?(String.t(), non_neg_integer()) :: boolean() | |
def allow_login_attempt?(email, limit \\ @login_request_limit) do |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment