docstring

This commit is contained in:
Jean-Paul Calderone 2019-11-26 07:49:25 -05:00
parent 1fef619819
commit bbc9c635b0

View File

@ -91,6 +91,12 @@ class DummyStorage(object):
class GetCounter(Resource):
"""
``GetCounter`` is a resource that returns a count of the number of times
it has rendered a response to a GET request.
:ivar int value: The number of ``GET`` requests rendered so far.
"""
value = 0
def render_GET(self, request):
self.value += 1