Exemplo n.º 1
0
class RegionResource(Resource):
    def __init__(self):
        self.region_service = RegionService()

    @required_login
    @handle_errors
    def get(self):
        return self.region_service.get_regions()
Exemplo n.º 2
0
class RegionResource(Resource):

    def __init__(self):
        self.region_service = RegionService()

    @required_login
    @handle_errors
    def get(self):
        return self.region_service.get_regions()
Exemplo n.º 3
0
 def __init__(self):
     self.region_service = RegionService()
Exemplo n.º 4
0
 def __init__(self):
     self.region_service = RegionService()