Removed service_api_client.get_monthly_notification_stats because it is not being used anymore.

This commit is contained in:
Rebecca Law
2017-08-23 17:07:42 +01:00
parent 10ad56f12e
commit 16f3aafa10
4 changed files with 14 additions and 44 deletions

View File

@@ -228,12 +228,6 @@ class ServiceAPIClient(NotifyAdminAPIClient):
def get_service_history(self, service_id):
return self.get('/service/{0}/history'.format(service_id))
def get_yearly_sms_unit_count_and_cost(self, service_id, year=None):
return self.get(
'/service/{0}/yearly-sms-billable-units'.format(service_id),
params=dict(year=year)
)
def get_monthly_notification_stats(self, service_id, year):
return self.get(url='/service/{}/notifications/monthly?year={}'.format(service_id, year))