From abc645da880cf7cb30d7fbb435bd6384f6b05e36 Mon Sep 17 00:00:00 2001
From: Jean-Paul Calderone <exarkun@twistedmatrix.com>
Date: Thu, 26 Mar 2020 09:42:05 -0400
Subject: [PATCH] Fix ``Voucher`` API docs

---
 src/_zkapauthorizer/model.py | 9 +++------
 1 file changed, 3 insertions(+), 6 deletions(-)

diff --git a/src/_zkapauthorizer/model.py b/src/_zkapauthorizer/model.py
index d006613..1060418 100644
--- a/src/_zkapauthorizer/model.py
+++ b/src/_zkapauthorizer/model.py
@@ -789,12 +789,9 @@ class Voucher(object):
     :ivar datetime created: The time at which this voucher was added to this
         node.
 
-    :ivar bool redeemed: ``True`` if this voucher has successfully been
-        redeemed with a payment server, ``False`` otherwise.
-
-    :ivar int token_count: A number of tokens received from the redemption of
-        this voucher if it has been redeemed, ``None`` if it has not been
-        redeemed.
+    :ivar state: An indication of the current state of this voucher.  This is
+        an instance of ``Pending``, ``Redeeming``, ``Redeemed``,
+        ``DoubleSpend``, ``Unpaid``, or ``Error``.
     """
     number = attr.ib(
         validator=attr.validators.and_(
-- 
GitLab