module Access class Geolocation attr_accessor :lat, :lon def initialize(geolocation = {}) @lat = geolocation['lat'] @lon = geolocation['lon'] end end end