Skip to content

Commit c4b2f22

Browse files
committed
DX-2887 Refactor <Bridge> BXML
1 parent 5ad427c commit c4b2f22

File tree

2 files changed

+18
-0
lines changed

2 files changed

+18
-0
lines changed
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
"""
2+
bridge.py
3+
4+
Bandwidth's Bridge BXML verb
5+
6+
@copyright Bandwidth INC
7+
"""
8+
from ..verb import Verb
9+
10+
11+
class Tag(Verb):
12+
13+
# TODO: Finish adding attributes
14+
def __init__(self, target_call, bridge_complete_url=None, bridge_complete_method=None):
15+
super().__init__(tag="Bridge", content=target_call, attributes=None, nested_verbs=None)
16+
17+
def add_verb(self, verb: Verb):
18+
raise AttributeError('Adding verbs is not supported by <Bridge>')

test/unit/bxml/test_bridge.py

Whitespace-only changes.

0 commit comments

Comments
 (0)