mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-20 22:40:31 -04:00
Change naming in code to use 'postage'
Renamed everything that was previously called 'letter class' or 'postage class' to 'postage', which is the new name we have decided to use.
This commit is contained in:
@@ -275,12 +275,12 @@ class Service(dict):
|
||||
'email_from',
|
||||
'id',
|
||||
'inbound_api',
|
||||
'letter_class',
|
||||
'letter_contact_block',
|
||||
'message_limit',
|
||||
'name',
|
||||
'organisation_type',
|
||||
'permissions',
|
||||
'postage',
|
||||
'prefix_sms',
|
||||
'research_mode',
|
||||
'service_callback_api',
|
||||
|
||||
@@ -81,7 +81,6 @@ class ServiceAPIClient(NotifyAdminAPIClient):
|
||||
'created_by',
|
||||
'branding',
|
||||
'email_branding',
|
||||
'letter_class',
|
||||
'letter_contact_block',
|
||||
'dvla_organisation',
|
||||
'permissions',
|
||||
@@ -89,6 +88,7 @@ class ServiceAPIClient(NotifyAdminAPIClient):
|
||||
'free_sms_fragment_limit',
|
||||
'prefix_sms',
|
||||
'contact_link',
|
||||
'postage',
|
||||
}
|
||||
if disallowed_attributes:
|
||||
raise TypeError('Not allowed to update service attributes: {}'.format(
|
||||
|
||||
Reference in New Issue
Block a user