Currently the Importers::PartyData class is doing all of the heavy lifting when it comes to parsing the html. Parsing data should be moved to the gem for consistency.
Solution
Create a new parser in the gem that pulls out the Party details and returns JSON. This will reduce the amount of code in the Importers::PartyData class and move all of the Importers::PartyAddress logic to the gem
Description
Currently the
Importers::PartyData
class is doing all of the heavy lifting when it comes to parsing the html. Parsing data should be moved to the gem for consistency.Solution
Create a new parser in the gem that pulls out the Party details and returns JSON. This will reduce the amount of code in the
Importers::PartyData
class and move all of theImporters::PartyAddress
logic to the gem