def get(self): pathelems = filter(lambda p: len(p) > 0, self.request.path.split("/")) process_request_m(self, bapi, "get_bill", {'tenant_id' : pathelems[1], 'account_no' : pathelems[3], 'bill_id' : pathelems[5] })
def delete(self): pathelems = filter(lambda p: len(p) > 0, self.request.path.split("/")) process_request_m(self, bapi, "delete_current_bill", {'tenant_id' : pathelems[1], 'account_no' : pathelems[3]})