Пример #1
0
 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] })  
Пример #2
0
 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]})