def recurring_commit(self, action, request): if self.is_test: url = self.arb_test_url else: url = self.arb_live_url xml = post(url, request, {"Content-Type": "text/xml"}) response = self.recurring_parse(action, xml) return response
def post_webservice( self, url, params, headers={} ): # CONSIDER get a better Mock library and this goes away! (otherwise, put it in the base class) got = post(url, params, headers) # TODO log(got) here! #print got return got
def post_webservice(self, url, params, headers={}): # CONSIDER get a better Mock library and this goes away! (otherwise, put it in the base class) got = post(url, params, headers) # TODO log(got) here! #print got return got