Functionality added to download all on activity page. All tests passing.

This commit is contained in:
Nicholas Staples
2016-04-19 11:45:36 +01:00
parent c2b96be247
commit f3210ea992
4 changed files with 20 additions and 2 deletions

View File

@@ -21,10 +21,18 @@ class NotificationApiClient(BaseAPIClient):
params=params
)
def get_notifications_for_service(self, service_id, job_id=None, template_type=None, status=None, page=None):
def get_notifications_for_service(self,
service_id,
job_id=None,
template_type=None,
status=None,
page=None,
page_size=None):
params = {}
if page is not None:
params['page'] = page
if page_size is not None:
params['page_size'] = page_size
if template_type is not None:
params['template_type'] = template_type
if status is not None: