Skip to content

Commit c268965

Browse files
authored
Merge pull request #123 from JudahSan/main
Fix method naming and call in TurnstileVerifier
2 parents ad41470 + 5c2c658 commit c268965

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.rubocop.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,3 +25,4 @@ Style/Documentation:
2525
Rails/LexicallyScopedActionFilter:
2626
Exclude:
2727
- 'app/controllers/users/sessions_controller.rb'
28+

app/services/turnstile_verifier.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ def verify
3232

3333
private
3434

35-
def attempt_verification?
35+
def attempt_verification # rubocop:disable Naming/PredicateMethod
3636
MAX_RETRIES.times do |attempt|
3737
return true if successful?(attempt)
3838

0 commit comments

Comments
 (0)