Exemplo n.º 1
0
    def unsubscribe(self):
        subscription = SubscriptionPrototype.get_for(self.account, subcategory=self.subcategory)

        if subscription:
            subscription.remove()

        return self.json_ok()
Exemplo n.º 2
0
    def unsubscribe(self):
        subscription = SubscriptionPrototype.get_for(self.account, thread=self.thread)

        if subscription:
            subscription.remove()

        return self.json_ok()
Exemplo n.º 3
0
    def unsubscribe(self):
        subscription = SubscriptionPrototype.get_for(
            self.account, subcategory=self.subcategory)

        if subscription:
            subscription.remove()

        return self.json_ok()
Exemplo n.º 4
0
    def unsubscribe(self):
        subscription = SubscriptionPrototype.get_for(self.account,
                                                     thread=self.thread)

        if subscription:
            subscription.remove()

        return self.json_ok()