HomeDevCentral
Diffusion Tommy fe5b06f19349

Refactor application

Description

Refactor application

Summary:
Reduced cyclomatic complexity replacing litany of if
by dictionaries and each combo.

Added code comments to give a structure to the file and ease navigation.

Split methods.

Better adherence to the Ruby community style guide.

Ref T912

Test Plan: Run application and check dashboard still prints correctly

Reviewers: dereckson

Maniphest Tasks: T912

Differential Revision: https://devcentral.nasqueron.org/D507

Details