Skip to content

Commit

Permalink
Fix ASM unit test (also use setter in constructor)
Browse files Browse the repository at this point in the history
  • Loading branch information
rshest committed Oct 31, 2017
1 parent fb3cda1 commit 404cf75
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sendgrid/helpers/mail/asm.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ def __init__(self, group_id=None, groups_to_display=None):
self._groups_to_display = None

if group_id is not None:
self._group_id = group_id
self.group_id = group_id

if groups_to_display is not None:
self._groups_to_display = groups_to_display
self.groups_to_display = groups_to_display

@property
def group_id(self):
Expand Down

0 comments on commit 404cf75

Please sign in to comment.