def cancel(self, id, reason, revoke=False): return Req( self.client.post('certificates/%d/cancel' % id, { 'reason': reason, 'revoke': revoke }))
def get(self, id): return Req(self.client.get('requests/%d' % id))
def renew(self, id, request): return Req( self.client.post('certificates/%d/renew' % id, request.toDict()))
def send(self, request): return Req(self.client.post('requests', request.toDict()))