Commit cf0a3d05 authored by okhin's avatar okhin 🚴

Adding the Bridge.delete()

parent 8acb208f
......@@ -68,6 +68,15 @@ class Bridge(object):
return ari_call(self.config, ['bridges', self.name, 'addChannel'], 'POST', {'channel': channel})
except:
raise
def delete(self):
'''
Let's delete the bridge
'''
try:
return ari_call(self.config, ['bridges', self.name], 'DEL', {})
except:
raise
class Channel(object):
'''
This class is used to regroup all the method to manage a Channel
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment