10000 Add update() to the usage trigger list resource · charlax/twilio-python@6e59c4b · GitHub
[go: up one dir, main page]

Skip to content

Commit 6e59c4b

Browse files
author
Kevin Burke
committed
Add update() to the usage trigger list resource
1 parent 54625cd commit 6e59c4b

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

twilio/rest/resources/usage.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,11 @@ def create(self, **kwargs):
6464
return self.create_instance(kwargs)
6565

6666

67+
def update(self, sid, **kwargs):
68+
""" Update the UsageTrigger with the given sid to have the kwargs """
69+
return self.update_instance(sid, kwargs)
70+
71+
6772
def delete(self, sid):
6873
"""
6974
Delete a :class:`UsageTrigger`

0 commit comments

Comments
 (0)
0