hub/helpers/location.py

12 lines
214 B
Python
Raw Normal View History

class Location:
def __init__(self, country, city):
self._country = country
self._city = city
@property
def city(self):
return self._city
@property
def country(self):
return self._country