Change API of UpdateProcessTicketWithCoverageTicketsInfoService
Move the email from the instance to the run method.
This change allow to use the same instance with different emails.
- Before:
UpdateProcessTicketWithCoverageTicketsInfoService(process_ticket_id, email_one).run()
UpdateProcessTicketWithCoverageTicketsInfoService(process_ticket_id, email_two).run()
- After:
update_ticket_service = UpdateProcessTicketWithCoverageTicketsInfoService(process_ticket_id)
update_ticket_service.run(email_one)
update_ticket_service.run(email_two)
Edited by Administrator