mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-05-03 15:41:06 -04:00
When we first built letters you could only send them via a CSV upload, initially we needed a way to send those files to dvla per job. We since stopped using this page. So let's delete it!
17 lines
375 B
Python
17 lines
375 B
Python
from app.notify_client import NotifyAdminAPIClient
|
|
|
|
|
|
class LetterJobsClient(NotifyAdminAPIClient):
|
|
|
|
def __init__(self):
|
|
super().__init__("a" * 73, "b")
|
|
|
|
def submit_returned_letters(self, references):
|
|
return self.post(
|
|
url='/letters/returned',
|
|
data={'references': references}
|
|
)
|
|
|
|
|
|
letter_jobs_client = LetterJobsClient()
|