require "net/http" class AddressDataPresenter attr_reader :data def initialize(data) @data = data end def uprn data["UPRN"] end def address data["ADDRESS"] end def match data["MATCH"] end end