Skip to content

Un-DRY GpoMail class a tad bit#10851

Merged
n1zyy merged 3 commits intomainfrom
mattw/undry-gpo-mail
Jun 24, 2024
Merged

Un-DRY GpoMail class a tad bit#10851
n1zyy merged 3 commits intomainfrom
mattw/undry-gpo-mail

Conversation

@n1zyy
Copy link
Copy Markdown
Contributor

@n1zyy n1zyy commented Jun 21, 2024

🎫 Ticket

Indirectly related to 13421

🛠 Summary of changes

In my main story I'm adding a GpoVerifyByMailPolicy class. We want to eventually fold the GpoMail class into it.

As part of that, we noticed that phone_step_attempts in particular was sort of out of place in a class called GpoMail.

Because these are both small and simple, I just moved hours_since_first_letter into the two classes using it, and inlined what was formerly phone_step_attempts. It's ultimately a little less code.

@n1zyy n1zyy requested review from a team and jmhooper June 21, 2024 18:31
@n1zyy n1zyy merged commit bd19a32 into main Jun 24, 2024
@n1zyy n1zyy deleted the mattw/undry-gpo-mail branch June 24, 2024 13:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants