Exemplo n.º 1
0
 def accept_challenge(self, srcuser_id):
     """ Decline a challenge previously issued by the srcuser """
     # Delete the accepted challenge and return the associated preferences
     return ChallengeModel.del_relation(srcuser_id, self.id())
Exemplo n.º 2
0
 def decline_challenge(self, srcuser_id):
     """ Decline a challenge previously issued by the srcuser """
     ChallengeModel.del_relation(srcuser_id, self.id())
Exemplo n.º 3
0
 def retract_challenge(self, destuser_id):
     """ Retract a challenge previously issued to the destuser """
     ChallengeModel.del_relation(self.id(), destuser_id)
Exemplo n.º 4
0
 def accept_challenge(self, srcuser_id):
     """ Decline a challenge previously issued by the srcuser """
     # Delete the accepted challenge and return the associated preferences
     return ChallengeModel.del_relation(srcuser_id, self.id())
Exemplo n.º 5
0
 def decline_challenge(self, srcuser_id):
     """ Decline a challenge previously issued by the srcuser """
     ChallengeModel.del_relation(srcuser_id, self.id())
Exemplo n.º 6
0
 def retract_challenge(self, destuser_id):
     """ Retract a challenge previously issued to the destuser """
     ChallengeModel.del_relation(self.id(), destuser_id)