mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-05-02 15:11:13 -04: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()
|