We want to add methods that only make sense for Legislatures (e.g. to get a list of all the terms), but currently both Parties and Legislatures are both plain Organizations.
Proposed Solution
Make separate subclasses for Parties and Legislatures.
Acceptance Criteria
We can add a JSON.parties method which returns Party objects.
Problem
We want to add methods that only make sense for Legislatures (e.g. to get a list of all the terms), but currently both Parties and Legislatures are both plain Organizations.
Proposed Solution
Make separate subclasses for Parties and Legislatures.
Acceptance Criteria
We can add a
JSON.parties
method which returnsParty
objects.Not Required
Prerequisites
Related Issues
67