adrianshort / uk_planning_scraper

A Ruby gem to get planning applications data from UK council websites.
GNU Lesser General Public License v3.0
27 stars 19 forks source link

Create Application class to store scraped data #8

Closed adrianshort closed 5 years ago

adrianshort commented 5 years ago

This will allow us to ensure that fields are consistent across the different scrapers, to set up defaults consistently, and to validate Application objects before the data is returned.

We'll need a to_hash instance method to convert the data for returning to the user.