Skip to content

GetUspsProofingResultsJob refactor#7937

Merged
tomas-nava merged 6 commits intomainfrom
tomas/lg-8284-usps-proofing-job-refactor
Mar 8, 2023
Merged

GetUspsProofingResultsJob refactor#7937
tomas-nava merged 6 commits intomainfrom
tomas/lg-8284-usps-proofing-job-refactor

Conversation

@tomas-nava
Copy link
Contributor

🎫 Ticket

This work was inspired by LG-8284 but doesn't close that ticket.

🛠 Summary of changes

A light refactor of GetUspsProofingResultsJob that doesn't change any behavior.

@tomas-nava tomas-nava requested review from a team and eileen-nava March 6, 2023 23:36
Copy link
Contributor

@zachmargolis zachmargolis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Contributor

@eileen-nava eileen-nava left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. Approved!

get_usps_proofing_results_job_request_delay_milliseconds / MILLISECONDS_PER_SECOND
proofer = UspsInPersonProofing::Proofer.new
def proofer
@proofer ||= UspsInPersonProofing::Proofer.new
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The ||= syntax is a favorite of mine.

@tomas-nava tomas-nava merged commit 2dfeba1 into main Mar 8, 2023
@tomas-nava tomas-nava deleted the tomas/lg-8284-usps-proofing-job-refactor branch March 8, 2023 18:29
@jmdembe jmdembe mentioned this pull request Mar 9, 2023
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