diff --git a/benefits/enrollment/enrollment.py b/benefits/enrollment/enrollment.py index c0f447c44..43d76cd8f 100644 --- a/benefits/enrollment/enrollment.py +++ b/benefits/enrollment/enrollment.py @@ -24,6 +24,11 @@ class Status(Enum): def enroll(request, card_token): + """ + Attempts to enroll this card into the transit processor group for the flow in the request's session. + + Returns a tuple containing a Status indicating the result of the attempt and any exception that occurred. + """ agency = session.agency(request) flow = session.flow(request)