mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-02-24 12:21:22 -05:00
This removes some code which is duplicative and obscure (ie it’s not very clear why we do `"a" * 73` even though there is a Very Good Reason for doing so).
14 lines
310 B
Python
14 lines
310 B
Python
from app.notify_client import NotifyAdminAPIClient
|
|
|
|
|
|
class LetterJobsClient(NotifyAdminAPIClient):
|
|
|
|
def submit_returned_letters(self, references):
|
|
return self.post(
|
|
url='/letters/returned',
|
|
data={'references': references}
|
|
)
|
|
|
|
|
|
letter_jobs_client = LetterJobsClient()
|