bandwidth-sdk 11.1.0 → 11.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +17 -17
- data/bandwidth.yml +8 -2
- data/coverage/.last_run.json +1 -1
- data/coverage/.resultset.json +69 -19
- data/coverage/index.html +720 -170
- data/docs/MessageRequest.md +1 -1
- data/lib/bandwidth-sdk/models/bxml/bxml.rb +1 -1
- data/lib/bandwidth-sdk/models/bxml/nestable_verb.rb +2 -2
- data/lib/bandwidth-sdk/models/bxml/response.rb +1 -1
- data/lib/bandwidth-sdk/models/bxml/root.rb +10 -4
- data/lib/bandwidth-sdk/models/bxml/verbs/gather.rb +11 -5
- data/lib/bandwidth-sdk/models/bxml/verbs/start_stream.rb +9 -3
- data/lib/bandwidth-sdk/models/bxml/verbs/start_transcription.rb +9 -3
- data/lib/bandwidth-sdk/models/bxml/verbs/transfer.rb +10 -4
- data/lib/bandwidth-sdk/models/message_request.rb +1 -1
- data/lib/bandwidth-sdk/version.rb +1 -1
- data/spec/models/bxml/bxml_spec.rb +25 -0
- data/spec/models/bxml/response_spec.rb +25 -0
- data/spec/models/bxml/verbs/forward_spec.rb +2 -2
- data/spec/models/bxml/verbs/gather_spec.rb +8 -8
- data/spec/models/bxml/verbs/start_stream_spec.rb +3 -3
- data/spec/models/bxml/verbs/start_transcription_spec.rb +3 -3
- data/spec/models/bxml/verbs/transfer_spec.rb +8 -8
- metadata +38 -38
data/coverage/index.html
CHANGED
@@ -14,7 +14,7 @@
|
|
14
14
|
<img src="./assets/0.12.3/loading.gif" alt="loading"/>
|
15
15
|
</div>
|
16
16
|
<div id="wrapper" class="hide">
|
17
|
-
<div class="timestamp">Generated <abbr class="timeago" title="
|
17
|
+
<div class="timestamp">Generated <abbr class="timeago" title="2024-01-16T20:24:57+00:00">2024-01-16T20:24:57+00:00</abbr></div>
|
18
18
|
<ul class="group_tabs"></ul>
|
19
19
|
|
20
20
|
<div id="content">
|
@@ -23,14 +23,14 @@
|
|
23
23
|
<span class="group_name">All Files</span>
|
24
24
|
(<span class="covered_percent">
|
25
25
|
<span class="green">
|
26
|
-
96.
|
26
|
+
96.11%
|
27
27
|
</span>
|
28
28
|
|
29
29
|
</span>
|
30
30
|
covered at
|
31
31
|
<span class="covered_strength">
|
32
32
|
<span class="green">
|
33
|
-
68.
|
33
|
+
68.01
|
34
34
|
</span>
|
35
35
|
</span> hits/line
|
36
36
|
)
|
@@ -43,11 +43,11 @@
|
|
43
43
|
</div>
|
44
44
|
|
45
45
|
<div class="t-line-summary">
|
46
|
-
<b>
|
47
|
-
<span class="green"><b>
|
46
|
+
<b>4041</b> relevant lines,
|
47
|
+
<span class="green"><b>3884</b> lines covered</span> and
|
48
48
|
<span class="red"><b>157</b> lines missed. </span>
|
49
49
|
(<span class="green">
|
50
|
-
96.
|
50
|
+
96.11%
|
51
51
|
</span>
|
52
52
|
)
|
53
53
|
</div>
|
@@ -176,7 +176,7 @@
|
|
176
176
|
<td class="cell--number">180</td>
|
177
177
|
<td class="cell--number">176</td>
|
178
178
|
<td class="cell--number">4</td>
|
179
|
-
<td class="cell--number">95.
|
179
|
+
<td class="cell--number">95.90</td>
|
180
180
|
|
181
181
|
</tr>
|
182
182
|
|
@@ -209,7 +209,7 @@
|
|
209
209
|
<td class="cell--number">154</td>
|
210
210
|
<td class="cell--number">136</td>
|
211
211
|
<td class="cell--number">18</td>
|
212
|
-
<td class="cell--number">
|
212
|
+
<td class="cell--number">1605.39</td>
|
213
213
|
|
214
214
|
</tr>
|
215
215
|
|
@@ -392,11 +392,11 @@
|
|
392
392
|
<tr class="t-file">
|
393
393
|
<td class="strong t-file__name"><a href="#4bcdba7406f6bef24646f3e57b632d6aacd9864b" class="src_link" title="spec/models/bxml/bxml_spec.rb">spec/models/bxml/bxml_spec.rb</a></td>
|
394
394
|
<td class="green strong cell--number t-file__coverage">100.00 %</td>
|
395
|
-
<td class="cell--number">
|
396
|
-
<td class="cell--number">
|
397
|
-
<td class="cell--number">
|
395
|
+
<td class="cell--number">41</td>
|
396
|
+
<td class="cell--number">26</td>
|
397
|
+
<td class="cell--number">26</td>
|
398
398
|
<td class="cell--number">0</td>
|
399
|
-
<td class="cell--number">1.
|
399
|
+
<td class="cell--number">1.31</td>
|
400
400
|
|
401
401
|
</tr>
|
402
402
|
|
@@ -414,11 +414,11 @@
|
|
414
414
|
<tr class="t-file">
|
415
415
|
<td class="strong t-file__name"><a href="#3b55dbb5010cb1a045ed1abdd394dea2e7780315" class="src_link" title="spec/models/bxml/response_spec.rb">spec/models/bxml/response_spec.rb</a></td>
|
416
416
|
<td class="green strong cell--number t-file__coverage">100.00 %</td>
|
417
|
-
<td class="cell--number">
|
418
|
-
<td class="cell--number">
|
419
|
-
<td class="cell--number">
|
417
|
+
<td class="cell--number">41</td>
|
418
|
+
<td class="cell--number">26</td>
|
419
|
+
<td class="cell--number">26</td>
|
420
420
|
<td class="cell--number">0</td>
|
421
|
-
<td class="cell--number">1.
|
421
|
+
<td class="cell--number">1.31</td>
|
422
422
|
|
423
423
|
</tr>
|
424
424
|
|
@@ -815,7 +815,7 @@
|
|
815
815
|
covered at
|
816
816
|
<span class="covered_strength">
|
817
817
|
<span class="green">
|
818
|
-
|
818
|
+
445.67
|
819
819
|
</span>
|
820
820
|
</span> hits/line
|
821
821
|
)
|
@@ -862,7 +862,7 @@
|
|
862
862
|
<td class="cell--number">154</td>
|
863
863
|
<td class="cell--number">136</td>
|
864
864
|
<td class="cell--number">18</td>
|
865
|
-
<td class="cell--number">
|
865
|
+
<td class="cell--number">1605.39</td>
|
866
866
|
|
867
867
|
</tr>
|
868
868
|
|
@@ -1074,7 +1074,7 @@
|
|
1074
1074
|
covered at
|
1075
1075
|
<span class="covered_strength">
|
1076
1076
|
<span class="green">
|
1077
|
-
42.
|
1077
|
+
42.93
|
1078
1078
|
</span>
|
1079
1079
|
</span> hits/line
|
1080
1080
|
)
|
@@ -1132,7 +1132,7 @@
|
|
1132
1132
|
<td class="cell--number">180</td>
|
1133
1133
|
<td class="cell--number">176</td>
|
1134
1134
|
<td class="cell--number">4</td>
|
1135
|
-
<td class="cell--number">95.
|
1135
|
+
<td class="cell--number">95.90</td>
|
1136
1136
|
|
1137
1137
|
</tr>
|
1138
1138
|
|
@@ -1189,8 +1189,8 @@
|
|
1189
1189
|
</div>
|
1190
1190
|
|
1191
1191
|
<div class="t-line-summary">
|
1192
|
-
<b>
|
1193
|
-
<span class="green"><b>
|
1192
|
+
<b>2036</b> relevant lines,
|
1193
|
+
<span class="green"><b>2036</b> lines covered</span> and
|
1194
1194
|
<span class="red"><b>0</b> lines missed. </span>
|
1195
1195
|
(<span class="green">
|
1196
1196
|
100.0%
|
@@ -1340,11 +1340,11 @@
|
|
1340
1340
|
<tr class="t-file">
|
1341
1341
|
<td class="strong t-file__name"><a href="#4bcdba7406f6bef24646f3e57b632d6aacd9864b" class="src_link" title="spec/models/bxml/bxml_spec.rb">spec/models/bxml/bxml_spec.rb</a></td>
|
1342
1342
|
<td class="green strong cell--number t-file__coverage">100.00 %</td>
|
1343
|
-
<td class="cell--number">
|
1344
|
-
<td class="cell--number">
|
1345
|
-
<td class="cell--number">
|
1343
|
+
<td class="cell--number">41</td>
|
1344
|
+
<td class="cell--number">26</td>
|
1345
|
+
<td class="cell--number">26</td>
|
1346
1346
|
<td class="cell--number">0</td>
|
1347
|
-
<td class="cell--number">1.
|
1347
|
+
<td class="cell--number">1.31</td>
|
1348
1348
|
|
1349
1349
|
</tr>
|
1350
1350
|
|
@@ -1362,11 +1362,11 @@
|
|
1362
1362
|
<tr class="t-file">
|
1363
1363
|
<td class="strong t-file__name"><a href="#3b55dbb5010cb1a045ed1abdd394dea2e7780315" class="src_link" title="spec/models/bxml/response_spec.rb">spec/models/bxml/response_spec.rb</a></td>
|
1364
1364
|
<td class="green strong cell--number t-file__coverage">100.00 %</td>
|
1365
|
-
<td class="cell--number">
|
1366
|
-
<td class="cell--number">
|
1367
|
-
<td class="cell--number">
|
1365
|
+
<td class="cell--number">41</td>
|
1366
|
+
<td class="cell--number">26</td>
|
1367
|
+
<td class="cell--number">26</td>
|
1368
1368
|
<td class="cell--number">0</td>
|
1369
|
-
<td class="cell--number">1.
|
1369
|
+
<td class="cell--number">1.31</td>
|
1370
1370
|
|
1371
1371
|
</tr>
|
1372
1372
|
|
@@ -39326,8 +39326,8 @@
|
|
39326
39326
|
</div>
|
39327
39327
|
|
39328
39328
|
<div>
|
39329
|
-
<li class="covered" data-hits="
|
39330
|
-
<span class="hits">
|
39329
|
+
<li class="covered" data-hits="2275" data-linenumber="286">
|
39330
|
+
<span class="hits">2275</span>
|
39331
39331
|
|
39332
39332
|
|
39333
39333
|
|
@@ -39337,8 +39337,8 @@
|
|
39337
39337
|
</div>
|
39338
39338
|
|
39339
39339
|
<div>
|
39340
|
-
<li class="covered" data-hits="
|
39341
|
-
<span class="hits">
|
39340
|
+
<li class="covered" data-hits="2275" data-linenumber="287">
|
39341
|
+
<span class="hits">2275</span>
|
39342
39342
|
|
39343
39343
|
|
39344
39344
|
|
@@ -39568,8 +39568,8 @@
|
|
39568
39568
|
</div>
|
39569
39569
|
|
39570
39570
|
<div>
|
39571
|
-
<li class="covered" data-hits="
|
39572
|
-
<span class="hits">
|
39571
|
+
<li class="covered" data-hits="2228" data-linenumber="308">
|
39572
|
+
<span class="hits">2228</span>
|
39573
39573
|
|
39574
39574
|
|
39575
39575
|
|
@@ -39667,8 +39667,8 @@
|
|
39667
39667
|
</div>
|
39668
39668
|
|
39669
39669
|
<div>
|
39670
|
-
<li class="covered" data-hits="
|
39671
|
-
<span class="hits">
|
39670
|
+
<li class="covered" data-hits="2245" data-linenumber="317">
|
39671
|
+
<span class="hits">2245</span>
|
39672
39672
|
|
39673
39673
|
|
39674
39674
|
|
@@ -39678,8 +39678,8 @@
|
|
39678
39678
|
</div>
|
39679
39679
|
|
39680
39680
|
<div>
|
39681
|
-
<li class="covered" data-hits="
|
39682
|
-
<span class="hits">
|
39681
|
+
<li class="covered" data-hits="2245" data-linenumber="318">
|
39682
|
+
<span class="hits">2245</span>
|
39683
39683
|
|
39684
39684
|
|
39685
39685
|
|
@@ -49231,8 +49231,8 @@
|
|
49231
49231
|
</div>
|
49232
49232
|
|
49233
49233
|
<div>
|
49234
|
-
<li class="covered" data-hits="
|
49235
|
-
<span class="hits">
|
49234
|
+
<li class="covered" data-hits="77900" data-linenumber="95">
|
49235
|
+
<span class="hits">77900</span>
|
49236
49236
|
|
49237
49237
|
|
49238
49238
|
|
@@ -50067,8 +50067,8 @@
|
|
50067
50067
|
</div>
|
50068
50068
|
|
50069
50069
|
<div>
|
50070
|
-
<li class="covered" data-hits="
|
50071
|
-
<span class="hits">
|
50070
|
+
<li class="covered" data-hits="13943" data-linenumber="171">
|
50071
|
+
<span class="hits">13943</span>
|
50072
50072
|
|
50073
50073
|
|
50074
50074
|
|
@@ -50100,8 +50100,8 @@
|
|
50100
50100
|
</div>
|
50101
50101
|
|
50102
50102
|
<div>
|
50103
|
-
<li class="covered" data-hits="
|
50104
|
-
<span class="hits">
|
50103
|
+
<li class="covered" data-hits="13942" data-linenumber="174">
|
50104
|
+
<span class="hits">13942</span>
|
50105
50105
|
|
50106
50106
|
|
50107
50107
|
|
@@ -50606,8 +50606,8 @@
|
|
50606
50606
|
</div>
|
50607
50607
|
|
50608
50608
|
<div>
|
50609
|
-
<li class="covered" data-hits="
|
50610
|
-
<span class="hits">
|
50609
|
+
<li class="covered" data-hits="520" data-linenumber="220">
|
50610
|
+
<span class="hits">520</span>
|
50611
50611
|
|
50612
50612
|
|
50613
50613
|
|
@@ -50694,8 +50694,8 @@
|
|
50694
50694
|
</div>
|
50695
50695
|
|
50696
50696
|
<div>
|
50697
|
-
<li class="covered" data-hits="
|
50698
|
-
<span class="hits">
|
50697
|
+
<li class="covered" data-hits="734" data-linenumber="228">
|
50698
|
+
<span class="hits">734</span>
|
50699
50699
|
|
50700
50700
|
|
50701
50701
|
|
@@ -50826,8 +50826,8 @@
|
|
50826
50826
|
</div>
|
50827
50827
|
|
50828
50828
|
<div>
|
50829
|
-
<li class="covered" data-hits="
|
50830
|
-
<span class="hits">
|
50829
|
+
<li class="covered" data-hits="305" data-linenumber="240">
|
50830
|
+
<span class="hits">305</span>
|
50831
50831
|
|
50832
50832
|
|
50833
50833
|
|
@@ -50870,8 +50870,8 @@
|
|
50870
50870
|
</div>
|
50871
50871
|
|
50872
50872
|
<div>
|
50873
|
-
<li class="covered" data-hits="
|
50874
|
-
<span class="hits">
|
50873
|
+
<li class="covered" data-hits="305" data-linenumber="244">
|
50874
|
+
<span class="hits">305</span>
|
50875
50875
|
|
50876
50876
|
|
50877
50877
|
|
@@ -51717,8 +51717,8 @@
|
|
51717
51717
|
</div>
|
51718
51718
|
|
51719
51719
|
<div>
|
51720
|
-
<li class="covered" data-hits="
|
51721
|
-
<span class="hits">
|
51720
|
+
<li class="covered" data-hits="13904" data-linenumber="321">
|
51721
|
+
<span class="hits">13904</span>
|
51722
51722
|
|
51723
51723
|
|
51724
51724
|
|
@@ -51838,8 +51838,8 @@
|
|
51838
51838
|
</div>
|
51839
51839
|
|
51840
51840
|
<div>
|
51841
|
-
<li class="covered" data-hits="
|
51842
|
-
<span class="hits">
|
51841
|
+
<li class="covered" data-hits="13910" data-linenumber="332">
|
51842
|
+
<span class="hits">13910</span>
|
51843
51843
|
|
51844
51844
|
|
51845
51845
|
|
@@ -51860,8 +51860,8 @@
|
|
51860
51860
|
</div>
|
51861
51861
|
|
51862
51862
|
<div>
|
51863
|
-
<li class="covered" data-hits="
|
51864
|
-
<span class="hits">
|
51863
|
+
<li class="covered" data-hits="4262" data-linenumber="334">
|
51864
|
+
<span class="hits">4262</span>
|
51865
51865
|
|
51866
51866
|
|
51867
51867
|
|
@@ -51904,8 +51904,8 @@
|
|
51904
51904
|
</div>
|
51905
51905
|
|
51906
51906
|
<div>
|
51907
|
-
<li class="covered" data-hits="
|
51908
|
-
<span class="hits">
|
51907
|
+
<li class="covered" data-hits="7640" data-linenumber="338">
|
51908
|
+
<span class="hits">7640</span>
|
51909
51909
|
|
51910
51910
|
|
51911
51911
|
|
@@ -63846,7 +63846,7 @@
|
|
63846
63846
|
|
63847
63847
|
|
63848
63848
|
|
63849
|
-
<code class="ruby"> VERSION = '11.
|
63849
|
+
<code class="ruby"> VERSION = '11.2.0'</code>
|
63850
63850
|
</li>
|
63851
63851
|
</div>
|
63852
63852
|
|
@@ -88817,8 +88817,8 @@
|
|
88817
88817
|
|
88818
88818
|
|
88819
88819
|
<div class="t-line-summary">
|
88820
|
-
<b>
|
88821
|
-
<span class="green"><b>
|
88820
|
+
<b>26</b> relevant lines.
|
88821
|
+
<span class="green"><b>26</b> lines covered</span> and
|
88822
88822
|
<span class="red"><b>0</b> lines missed.</span>
|
88823
88823
|
</div>
|
88824
88824
|
|
@@ -88852,8 +88852,8 @@
|
|
88852
88852
|
</div>
|
88853
88853
|
|
88854
88854
|
<div>
|
88855
|
-
<li class="covered" data-hits="
|
88856
|
-
<span class="hits">
|
88855
|
+
<li class="covered" data-hits="5" data-linenumber="3">
|
88856
|
+
<span class="hits">5</span>
|
88857
88857
|
|
88858
88858
|
|
88859
88859
|
|
@@ -88863,7 +88863,18 @@
|
|
88863
88863
|
</div>
|
88864
88864
|
|
88865
88865
|
<div>
|
88866
|
-
<li class="
|
88866
|
+
<li class="covered" data-hits="5" data-linenumber="4">
|
88867
|
+
<span class="hits">5</span>
|
88868
|
+
|
88869
|
+
|
88870
|
+
|
88871
|
+
|
88872
|
+
<code class="ruby"> let(:pause_recording) { Bandwidth::Bxml::PauseRecording.new }</code>
|
88873
|
+
</li>
|
88874
|
+
</div>
|
88875
|
+
|
88876
|
+
<div>
|
88877
|
+
<li class="never" data-hits="" data-linenumber="5">
|
88867
88878
|
|
88868
88879
|
|
88869
88880
|
|
@@ -88874,7 +88885,7 @@
|
|
88874
88885
|
</div>
|
88875
88886
|
|
88876
88887
|
<div>
|
88877
|
-
<li class="covered" data-hits="1" data-linenumber="
|
88888
|
+
<li class="covered" data-hits="1" data-linenumber="6">
|
88878
88889
|
<span class="hits">1</span>
|
88879
88890
|
|
88880
88891
|
|
@@ -88885,7 +88896,7 @@
|
|
88885
88896
|
</div>
|
88886
88897
|
|
88887
88898
|
<div>
|
88888
|
-
<li class="covered" data-hits="1" data-linenumber="
|
88899
|
+
<li class="covered" data-hits="1" data-linenumber="7">
|
88889
88900
|
<span class="hits">1</span>
|
88890
88901
|
|
88891
88902
|
|
@@ -88896,7 +88907,7 @@
|
|
88896
88907
|
</div>
|
88897
88908
|
|
88898
88909
|
<div>
|
88899
|
-
<li class="covered" data-hits="1" data-linenumber="
|
88910
|
+
<li class="covered" data-hits="1" data-linenumber="8">
|
88900
88911
|
<span class="hits">1</span>
|
88901
88912
|
|
88902
88913
|
|
@@ -88907,7 +88918,7 @@
|
|
88907
88918
|
</div>
|
88908
88919
|
|
88909
88920
|
<div>
|
88910
|
-
<li class="covered" data-hits="1" data-linenumber="
|
88921
|
+
<li class="covered" data-hits="1" data-linenumber="9">
|
88911
88922
|
<span class="hits">1</span>
|
88912
88923
|
|
88913
88924
|
|
@@ -88918,7 +88929,7 @@
|
|
88918
88929
|
</div>
|
88919
88930
|
|
88920
88931
|
<div>
|
88921
|
-
<li class="never" data-hits="" data-linenumber="
|
88932
|
+
<li class="never" data-hits="" data-linenumber="10">
|
88922
88933
|
|
88923
88934
|
|
88924
88935
|
|
@@ -88929,7 +88940,7 @@
|
|
88929
88940
|
</div>
|
88930
88941
|
|
88931
88942
|
<div>
|
88932
|
-
<li class="never" data-hits="" data-linenumber="
|
88943
|
+
<li class="never" data-hits="" data-linenumber="11">
|
88933
88944
|
|
88934
88945
|
|
88935
88946
|
|
@@ -88940,29 +88951,40 @@
|
|
88940
88951
|
</div>
|
88941
88952
|
|
88942
88953
|
<div>
|
88943
|
-
<li class="covered" data-hits="1" data-linenumber="
|
88954
|
+
<li class="covered" data-hits="1" data-linenumber="12">
|
88944
88955
|
<span class="hits">1</span>
|
88945
88956
|
|
88946
88957
|
|
88947
88958
|
|
88948
88959
|
|
88949
|
-
<code class="ruby"> it 'test
|
88960
|
+
<code class="ruby"> it 'test initializing with a single nested verb' do</code>
|
88950
88961
|
</li>
|
88951
88962
|
</div>
|
88952
88963
|
|
88953
88964
|
<div>
|
88954
|
-
<li class="covered" data-hits="1" data-linenumber="
|
88965
|
+
<li class="covered" data-hits="1" data-linenumber="13">
|
88955
88966
|
<span class="hits">1</span>
|
88956
88967
|
|
88957
88968
|
|
88958
88969
|
|
88959
88970
|
|
88960
|
-
<code class="ruby">
|
88971
|
+
<code class="ruby"> instance = Bandwidth::Bxml::Bxml.new(pause_recording)</code>
|
88961
88972
|
</li>
|
88962
88973
|
</div>
|
88963
88974
|
|
88964
88975
|
<div>
|
88965
|
-
<li class="covered" data-hits="1" data-linenumber="
|
88976
|
+
<li class="covered" data-hits="1" data-linenumber="14">
|
88977
|
+
<span class="hits">1</span>
|
88978
|
+
|
88979
|
+
|
88980
|
+
|
88981
|
+
|
88982
|
+
<code class="ruby"> expected = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<Bxml>\n <PauseRecording/>\n</Bxml>\n"</code>
|
88983
|
+
</li>
|
88984
|
+
</div>
|
88985
|
+
|
88986
|
+
<div>
|
88987
|
+
<li class="covered" data-hits="1" data-linenumber="15">
|
88966
88988
|
<span class="hits">1</span>
|
88967
88989
|
|
88968
88990
|
|
@@ -88973,7 +88995,7 @@
|
|
88973
88995
|
</div>
|
88974
88996
|
|
88975
88997
|
<div>
|
88976
|
-
<li class="never" data-hits="" data-linenumber="
|
88998
|
+
<li class="never" data-hits="" data-linenumber="16">
|
88977
88999
|
|
88978
89000
|
|
88979
89001
|
|
@@ -88984,148 +89006,194 @@
|
|
88984
89006
|
</div>
|
88985
89007
|
|
88986
89008
|
<div>
|
88987
|
-
<li class="never" data-hits="" data-linenumber="
|
89009
|
+
<li class="never" data-hits="" data-linenumber="17">
|
88988
89010
|
|
88989
89011
|
|
88990
89012
|
|
88991
89013
|
|
88992
89014
|
|
88993
|
-
<code class="ruby"
|
89015
|
+
<code class="ruby"></code>
|
88994
89016
|
</li>
|
88995
89017
|
</div>
|
88996
89018
|
|
88997
89019
|
<div>
|
88998
|
-
<li class="
|
89020
|
+
<li class="covered" data-hits="1" data-linenumber="18">
|
89021
|
+
<span class="hits">1</span>
|
88999
89022
|
|
89023
|
+
|
89000
89024
|
|
89001
89025
|
|
89026
|
+
<code class="ruby"> it 'test initializing with multiple nested verbs' do</code>
|
89027
|
+
</li>
|
89028
|
+
</div>
|
89029
|
+
|
89030
|
+
<div>
|
89031
|
+
<li class="covered" data-hits="1" data-linenumber="19">
|
89032
|
+
<span class="hits">1</span>
|
89002
89033
|
|
89003
89034
|
|
89004
|
-
|
89035
|
+
|
89036
|
+
|
89037
|
+
<code class="ruby"> instance = Bandwidth::Bxml::Bxml.new([pause_recording, pause_recording])</code>
|
89005
89038
|
</li>
|
89006
89039
|
</div>
|
89007
89040
|
|
89008
|
-
|
89009
|
-
|
89010
|
-
</
|
89041
|
+
<div>
|
89042
|
+
<li class="covered" data-hits="1" data-linenumber="20">
|
89043
|
+
<span class="hits">1</span>
|
89044
|
+
|
89011
89045
|
|
89046
|
+
|
89047
|
+
|
89048
|
+
<code class="ruby"> expected = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<Bxml>\n <PauseRecording/>\n <PauseRecording/>\n</Bxml>\n"</code>
|
89049
|
+
</li>
|
89050
|
+
</div>
|
89012
89051
|
|
89013
|
-
<div
|
89014
|
-
|
89015
|
-
|
89016
|
-
|
89017
|
-
<span class="green">
|
89018
|
-
100.0%
|
89019
|
-
</span>
|
89052
|
+
<div>
|
89053
|
+
<li class="covered" data-hits="1" data-linenumber="21">
|
89054
|
+
<span class="hits">1</span>
|
89055
|
+
|
89020
89056
|
|
89021
|
-
|
89022
|
-
</h4>
|
89057
|
+
|
89023
89058
|
|
89024
|
-
|
89059
|
+
<code class="ruby"> expect(instance.to_bxml).to eq(expected)</code>
|
89060
|
+
</li>
|
89061
|
+
</div>
|
89062
|
+
|
89063
|
+
<div>
|
89064
|
+
<li class="never" data-hits="" data-linenumber="22">
|
89065
|
+
|
89066
|
+
|
89025
89067
|
|
89026
|
-
|
89027
|
-
<b>6</b> relevant lines.
|
89028
|
-
<span class="green"><b>6</b> lines covered</span> and
|
89029
|
-
<span class="red"><b>0</b> lines missed.</span>
|
89030
|
-
</div>
|
89068
|
+
|
89031
89069
|
|
89032
|
-
|
89070
|
+
<code class="ruby"> end</code>
|
89071
|
+
</li>
|
89072
|
+
</div>
|
89073
|
+
|
89074
|
+
<div>
|
89075
|
+
<li class="never" data-hits="" data-linenumber="23">
|
89076
|
+
|
89077
|
+
|
89033
89078
|
|
89034
|
-
|
89079
|
+
|
89035
89080
|
|
89036
|
-
|
89037
|
-
|
89081
|
+
<code class="ruby"></code>
|
89082
|
+
</li>
|
89083
|
+
</div>
|
89038
89084
|
|
89039
89085
|
<div>
|
89040
|
-
<li class="
|
89086
|
+
<li class="covered" data-hits="1" data-linenumber="24">
|
89087
|
+
<span class="hits">1</span>
|
89088
|
+
|
89089
|
+
|
89041
89090
|
|
89091
|
+
|
89092
|
+
<code class="ruby"> it 'test adding a single verb to the Bxml instance' do</code>
|
89093
|
+
</li>
|
89094
|
+
</div>
|
89095
|
+
|
89096
|
+
<div>
|
89097
|
+
<li class="covered" data-hits="1" data-linenumber="25">
|
89098
|
+
<span class="hits">1</span>
|
89042
89099
|
|
89043
89100
|
|
89044
89101
|
|
89045
89102
|
|
89046
|
-
<code class="ruby"
|
89103
|
+
<code class="ruby"> instance.add_verbs(pause_recording)</code>
|
89047
89104
|
</li>
|
89048
89105
|
</div>
|
89049
89106
|
|
89050
89107
|
<div>
|
89051
|
-
<li class="covered" data-hits="1" data-linenumber="
|
89108
|
+
<li class="covered" data-hits="1" data-linenumber="26">
|
89052
89109
|
<span class="hits">1</span>
|
89053
89110
|
|
89054
89111
|
|
89055
89112
|
|
89056
89113
|
|
89057
|
-
<code class="ruby">
|
89114
|
+
<code class="ruby"> expected = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<Bxml>\n <PauseRecording/>\n</Bxml>\n"</code>
|
89058
89115
|
</li>
|
89059
89116
|
</div>
|
89060
89117
|
|
89061
89118
|
<div>
|
89062
|
-
<li class="covered" data-hits="
|
89063
|
-
<span class="hits">
|
89119
|
+
<li class="covered" data-hits="1" data-linenumber="27">
|
89120
|
+
<span class="hits">1</span>
|
89064
89121
|
|
89065
89122
|
|
89066
89123
|
|
89067
89124
|
|
89068
|
-
<code class="ruby">
|
89125
|
+
<code class="ruby"> expect(instance.to_bxml).to eq(expected)</code>
|
89069
89126
|
</li>
|
89070
89127
|
</div>
|
89071
89128
|
|
89072
89129
|
<div>
|
89073
|
-
<li class="never" data-hits="" data-linenumber="
|
89130
|
+
<li class="never" data-hits="" data-linenumber="28">
|
89074
89131
|
|
89075
89132
|
|
89076
89133
|
|
89077
89134
|
|
89078
89135
|
|
89079
|
-
<code class="ruby">
|
89136
|
+
<code class="ruby"> end</code>
|
89080
89137
|
</li>
|
89081
89138
|
</div>
|
89082
89139
|
|
89083
89140
|
<div>
|
89084
|
-
<li class="
|
89141
|
+
<li class="never" data-hits="" data-linenumber="29">
|
89142
|
+
|
89143
|
+
|
89144
|
+
|
89145
|
+
|
89146
|
+
|
89147
|
+
<code class="ruby"></code>
|
89148
|
+
</li>
|
89149
|
+
</div>
|
89150
|
+
|
89151
|
+
<div>
|
89152
|
+
<li class="covered" data-hits="1" data-linenumber="30">
|
89085
89153
|
<span class="hits">1</span>
|
89086
89154
|
|
89087
89155
|
|
89088
89156
|
|
89089
89157
|
|
89090
|
-
<code class="ruby">
|
89158
|
+
<code class="ruby"> it 'test adding multiple verbs to the Bxml instance' do</code>
|
89091
89159
|
</li>
|
89092
89160
|
</div>
|
89093
89161
|
|
89094
89162
|
<div>
|
89095
|
-
<li class="covered" data-hits="1" data-linenumber="
|
89163
|
+
<li class="covered" data-hits="1" data-linenumber="31">
|
89096
89164
|
<span class="hits">1</span>
|
89097
89165
|
|
89098
89166
|
|
89099
89167
|
|
89100
89168
|
|
89101
|
-
<code class="ruby">
|
89169
|
+
<code class="ruby"> instance.add_verbs([pause_recording, pause_recording])</code>
|
89102
89170
|
</li>
|
89103
89171
|
</div>
|
89104
89172
|
|
89105
89173
|
<div>
|
89106
|
-
<li class="covered" data-hits="1" data-linenumber="
|
89174
|
+
<li class="covered" data-hits="1" data-linenumber="32">
|
89107
89175
|
<span class="hits">1</span>
|
89108
89176
|
|
89109
89177
|
|
89110
89178
|
|
89111
89179
|
|
89112
|
-
<code class="ruby">
|
89180
|
+
<code class="ruby"> expected = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<Bxml>\n <PauseRecording/>\n <PauseRecording/>\n</Bxml>\n"</code>
|
89113
89181
|
</li>
|
89114
89182
|
</div>
|
89115
89183
|
|
89116
89184
|
<div>
|
89117
|
-
<li class="covered" data-hits="1" data-linenumber="
|
89185
|
+
<li class="covered" data-hits="1" data-linenumber="33">
|
89118
89186
|
<span class="hits">1</span>
|
89119
89187
|
|
89120
89188
|
|
89121
89189
|
|
89122
89190
|
|
89123
|
-
<code class="ruby"> expect(instance).to
|
89191
|
+
<code class="ruby"> expect(instance.to_bxml).to eq(expected)</code>
|
89124
89192
|
</li>
|
89125
89193
|
</div>
|
89126
89194
|
|
89127
89195
|
<div>
|
89128
|
-
<li class="never" data-hits="" data-linenumber="
|
89196
|
+
<li class="never" data-hits="" data-linenumber="34">
|
89129
89197
|
|
89130
89198
|
|
89131
89199
|
|
@@ -89136,7 +89204,62 @@
|
|
89136
89204
|
</div>
|
89137
89205
|
|
89138
89206
|
<div>
|
89139
|
-
<li class="never" data-hits="" data-linenumber="
|
89207
|
+
<li class="never" data-hits="" data-linenumber="35">
|
89208
|
+
|
89209
|
+
|
89210
|
+
|
89211
|
+
|
89212
|
+
|
89213
|
+
<code class="ruby"></code>
|
89214
|
+
</li>
|
89215
|
+
</div>
|
89216
|
+
|
89217
|
+
<div>
|
89218
|
+
<li class="covered" data-hits="1" data-linenumber="36">
|
89219
|
+
<span class="hits">1</span>
|
89220
|
+
|
89221
|
+
|
89222
|
+
|
89223
|
+
|
89224
|
+
<code class="ruby"> it 'test the to_bxml method of the Bxml instance' do</code>
|
89225
|
+
</li>
|
89226
|
+
</div>
|
89227
|
+
|
89228
|
+
<div>
|
89229
|
+
<li class="covered" data-hits="1" data-linenumber="37">
|
89230
|
+
<span class="hits">1</span>
|
89231
|
+
|
89232
|
+
|
89233
|
+
|
89234
|
+
|
89235
|
+
<code class="ruby"> expected = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<Bxml/>\n"</code>
|
89236
|
+
</li>
|
89237
|
+
</div>
|
89238
|
+
|
89239
|
+
<div>
|
89240
|
+
<li class="covered" data-hits="1" data-linenumber="38">
|
89241
|
+
<span class="hits">1</span>
|
89242
|
+
|
89243
|
+
|
89244
|
+
|
89245
|
+
|
89246
|
+
<code class="ruby"> expect(instance.to_bxml).to eq(expected)</code>
|
89247
|
+
</li>
|
89248
|
+
</div>
|
89249
|
+
|
89250
|
+
<div>
|
89251
|
+
<li class="never" data-hits="" data-linenumber="39">
|
89252
|
+
|
89253
|
+
|
89254
|
+
|
89255
|
+
|
89256
|
+
|
89257
|
+
<code class="ruby"> end</code>
|
89258
|
+
</li>
|
89259
|
+
</div>
|
89260
|
+
|
89261
|
+
<div>
|
89262
|
+
<li class="never" data-hits="" data-linenumber="40">
|
89140
89263
|
|
89141
89264
|
|
89142
89265
|
|
@@ -89147,7 +89270,7 @@
|
|
89147
89270
|
</div>
|
89148
89271
|
|
89149
89272
|
<div>
|
89150
|
-
<li class="never" data-hits="" data-linenumber="
|
89273
|
+
<li class="never" data-hits="" data-linenumber="41">
|
89151
89274
|
|
89152
89275
|
|
89153
89276
|
|
@@ -89162,9 +89285,9 @@
|
|
89162
89285
|
</div>
|
89163
89286
|
|
89164
89287
|
|
89165
|
-
<div class="source_table" id="
|
89288
|
+
<div class="source_table" id="c28576877561cf612eff850a1d9f48add3420626">
|
89166
89289
|
<div class="header">
|
89167
|
-
<h3>spec/models/bxml/
|
89290
|
+
<h3>spec/models/bxml/nestable_verb_spec.rb</h3>
|
89168
89291
|
<h4>
|
89169
89292
|
<span class="green">
|
89170
89293
|
100.0%
|
@@ -89176,8 +89299,8 @@
|
|
89176
89299
|
|
89177
89300
|
|
89178
89301
|
<div class="t-line-summary">
|
89179
|
-
<b>
|
89180
|
-
<span class="green"><b>
|
89302
|
+
<b>6</b> relevant lines.
|
89303
|
+
<span class="green"><b>6</b> lines covered</span> and
|
89181
89304
|
<span class="red"><b>0</b> lines missed.</span>
|
89182
89305
|
</div>
|
89183
89306
|
|
@@ -89195,7 +89318,7 @@
|
|
89195
89318
|
|
89196
89319
|
|
89197
89320
|
|
89198
|
-
<code class="ruby"># Unit tests for Bandwidth::Bxml::
|
89321
|
+
<code class="ruby"># Unit tests for Bandwidth::Bxml::NestableVerb</code>
|
89199
89322
|
</li>
|
89200
89323
|
</div>
|
89201
89324
|
|
@@ -89206,18 +89329,18 @@
|
|
89206
89329
|
|
89207
89330
|
|
89208
89331
|
|
89209
|
-
<code class="ruby">describe 'Bandwidth::Bxml::
|
89332
|
+
<code class="ruby">describe 'Bandwidth::Bxml::NestableVerb' do</code>
|
89210
89333
|
</li>
|
89211
89334
|
</div>
|
89212
89335
|
|
89213
89336
|
<div>
|
89214
|
-
<li class="covered" data-hits="
|
89215
|
-
<span class="hits">
|
89337
|
+
<li class="covered" data-hits="2" data-linenumber="3">
|
89338
|
+
<span class="hits">2</span>
|
89216
89339
|
|
89217
89340
|
|
89218
89341
|
|
89219
89342
|
|
89220
|
-
<code class="ruby"> let(:instance) { Bandwidth::Bxml::
|
89343
|
+
<code class="ruby"> let(:instance) { Bandwidth::Bxml::NestableVerb.new('Test') }</code>
|
89221
89344
|
</li>
|
89222
89345
|
</div>
|
89223
89346
|
|
@@ -89228,7 +89351,7 @@
|
|
89228
89351
|
|
89229
89352
|
|
89230
89353
|
|
89231
|
-
<code class="ruby"
|
89354
|
+
<code class="ruby"> </code>
|
89232
89355
|
</li>
|
89233
89356
|
</div>
|
89234
89357
|
|
@@ -89239,7 +89362,7 @@
|
|
89239
89362
|
|
89240
89363
|
|
89241
89364
|
|
89242
|
-
<code class="ruby"> describe 'test an instance of
|
89365
|
+
<code class="ruby"> describe 'test an instance of NestableVerb' do</code>
|
89243
89366
|
</li>
|
89244
89367
|
</div>
|
89245
89368
|
|
@@ -89250,7 +89373,7 @@
|
|
89250
89373
|
|
89251
89374
|
|
89252
89375
|
|
89253
|
-
<code class="ruby"> it 'validates instance of
|
89376
|
+
<code class="ruby"> it 'validates instance of NestableVerb' do</code>
|
89254
89377
|
</li>
|
89255
89378
|
</div>
|
89256
89379
|
|
@@ -89261,7 +89384,7 @@
|
|
89261
89384
|
|
89262
89385
|
|
89263
89386
|
|
89264
|
-
<code class="ruby"> expect(instance).to
|
89387
|
+
<code class="ruby"> expect(instance).to be_a(Bandwidth::Bxml::NestableVerb)</code>
|
89265
89388
|
</li>
|
89266
89389
|
</div>
|
89267
89390
|
|
@@ -89272,7 +89395,7 @@
|
|
89272
89395
|
|
89273
89396
|
|
89274
89397
|
|
89275
|
-
<code class="ruby"> expect(instance).to be_a(Bandwidth::Bxml::
|
89398
|
+
<code class="ruby"> expect(instance).to be_a(Bandwidth::Bxml::Verb)</code>
|
89276
89399
|
</li>
|
89277
89400
|
</div>
|
89278
89401
|
|
@@ -89294,18 +89417,170 @@
|
|
89294
89417
|
|
89295
89418
|
|
89296
89419
|
|
89420
|
+
<code class="ruby"> end</code>
|
89421
|
+
</li>
|
89422
|
+
</div>
|
89423
|
+
|
89424
|
+
<div>
|
89425
|
+
<li class="never" data-hits="" data-linenumber="11">
|
89426
|
+
|
89427
|
+
|
89428
|
+
|
89429
|
+
|
89430
|
+
|
89431
|
+
<code class="ruby">end</code>
|
89432
|
+
</li>
|
89433
|
+
</div>
|
89434
|
+
|
89435
|
+
</ol>
|
89436
|
+
</pre>
|
89437
|
+
</div>
|
89438
|
+
|
89439
|
+
|
89440
|
+
<div class="source_table" id="3b55dbb5010cb1a045ed1abdd394dea2e7780315">
|
89441
|
+
<div class="header">
|
89442
|
+
<h3>spec/models/bxml/response_spec.rb</h3>
|
89443
|
+
<h4>
|
89444
|
+
<span class="green">
|
89445
|
+
100.0%
|
89446
|
+
</span>
|
89447
|
+
|
89448
|
+
lines covered
|
89449
|
+
</h4>
|
89450
|
+
|
89451
|
+
|
89452
|
+
|
89453
|
+
<div class="t-line-summary">
|
89454
|
+
<b>26</b> relevant lines.
|
89455
|
+
<span class="green"><b>26</b> lines covered</span> and
|
89456
|
+
<span class="red"><b>0</b> lines missed.</span>
|
89457
|
+
</div>
|
89458
|
+
|
89459
|
+
|
89460
|
+
|
89461
|
+
</div>
|
89462
|
+
|
89463
|
+
<pre>
|
89464
|
+
<ol>
|
89465
|
+
|
89466
|
+
<div>
|
89467
|
+
<li class="never" data-hits="" data-linenumber="1">
|
89468
|
+
|
89469
|
+
|
89470
|
+
|
89471
|
+
|
89472
|
+
|
89473
|
+
<code class="ruby"># Unit tests for Bandwidth::Bxml::Response</code>
|
89474
|
+
</li>
|
89475
|
+
</div>
|
89476
|
+
|
89477
|
+
<div>
|
89478
|
+
<li class="covered" data-hits="1" data-linenumber="2">
|
89479
|
+
<span class="hits">1</span>
|
89480
|
+
|
89481
|
+
|
89482
|
+
|
89483
|
+
|
89484
|
+
<code class="ruby">describe 'Bandwidth::Bxml::Response' do</code>
|
89485
|
+
</li>
|
89486
|
+
</div>
|
89487
|
+
|
89488
|
+
<div>
|
89489
|
+
<li class="covered" data-hits="5" data-linenumber="3">
|
89490
|
+
<span class="hits">5</span>
|
89491
|
+
|
89492
|
+
|
89493
|
+
|
89494
|
+
|
89495
|
+
<code class="ruby"> let(:instance) { Bandwidth::Bxml::Response.new }</code>
|
89496
|
+
</li>
|
89497
|
+
</div>
|
89498
|
+
|
89499
|
+
<div>
|
89500
|
+
<li class="covered" data-hits="5" data-linenumber="4">
|
89501
|
+
<span class="hits">5</span>
|
89502
|
+
|
89503
|
+
|
89504
|
+
|
89505
|
+
|
89506
|
+
<code class="ruby"> let(:pause_recording) { Bandwidth::Bxml::PauseRecording.new }</code>
|
89507
|
+
</li>
|
89508
|
+
</div>
|
89509
|
+
|
89510
|
+
<div>
|
89511
|
+
<li class="never" data-hits="" data-linenumber="5">
|
89512
|
+
|
89513
|
+
|
89514
|
+
|
89515
|
+
|
89516
|
+
|
89297
89517
|
<code class="ruby"></code>
|
89298
89518
|
</li>
|
89299
89519
|
</div>
|
89300
89520
|
|
89301
89521
|
<div>
|
89302
|
-
<li class="covered" data-hits="1" data-linenumber="
|
89522
|
+
<li class="covered" data-hits="1" data-linenumber="6">
|
89303
89523
|
<span class="hits">1</span>
|
89304
89524
|
|
89305
89525
|
|
89306
89526
|
|
89307
89527
|
|
89308
|
-
<code class="ruby">
|
89528
|
+
<code class="ruby"> describe 'test an instance of Response' do</code>
|
89529
|
+
</li>
|
89530
|
+
</div>
|
89531
|
+
|
89532
|
+
<div>
|
89533
|
+
<li class="covered" data-hits="1" data-linenumber="7">
|
89534
|
+
<span class="hits">1</span>
|
89535
|
+
|
89536
|
+
|
89537
|
+
|
89538
|
+
|
89539
|
+
<code class="ruby"> it 'validates instance of Response' do</code>
|
89540
|
+
</li>
|
89541
|
+
</div>
|
89542
|
+
|
89543
|
+
<div>
|
89544
|
+
<li class="covered" data-hits="1" data-linenumber="8">
|
89545
|
+
<span class="hits">1</span>
|
89546
|
+
|
89547
|
+
|
89548
|
+
|
89549
|
+
|
89550
|
+
<code class="ruby"> expect(instance).to be_instance_of(Bandwidth::Bxml::Response)</code>
|
89551
|
+
</li>
|
89552
|
+
</div>
|
89553
|
+
|
89554
|
+
<div>
|
89555
|
+
<li class="covered" data-hits="1" data-linenumber="9">
|
89556
|
+
<span class="hits">1</span>
|
89557
|
+
|
89558
|
+
|
89559
|
+
|
89560
|
+
|
89561
|
+
<code class="ruby"> expect(instance).to be_a(Bandwidth::Bxml::Root)</code>
|
89562
|
+
</li>
|
89563
|
+
</div>
|
89564
|
+
|
89565
|
+
<div>
|
89566
|
+
<li class="never" data-hits="" data-linenumber="10">
|
89567
|
+
|
89568
|
+
|
89569
|
+
|
89570
|
+
|
89571
|
+
|
89572
|
+
<code class="ruby"> end</code>
|
89573
|
+
</li>
|
89574
|
+
</div>
|
89575
|
+
|
89576
|
+
<div>
|
89577
|
+
<li class="never" data-hits="" data-linenumber="11">
|
89578
|
+
|
89579
|
+
|
89580
|
+
|
89581
|
+
|
89582
|
+
|
89583
|
+
<code class="ruby"></code>
|
89309
89584
|
</li>
|
89310
89585
|
</div>
|
89311
89586
|
|
@@ -89316,7 +89591,7 @@
|
|
89316
89591
|
|
89317
89592
|
|
89318
89593
|
|
89319
|
-
<code class="ruby">
|
89594
|
+
<code class="ruby"> it 'test initializing with a single nested verb' do</code>
|
89320
89595
|
</li>
|
89321
89596
|
</div>
|
89322
89597
|
|
@@ -89327,12 +89602,34 @@
|
|
89327
89602
|
|
89328
89603
|
|
89329
89604
|
|
89605
|
+
<code class="ruby"> instance = Bandwidth::Bxml::Response.new(pause_recording)</code>
|
89606
|
+
</li>
|
89607
|
+
</div>
|
89608
|
+
|
89609
|
+
<div>
|
89610
|
+
<li class="covered" data-hits="1" data-linenumber="14">
|
89611
|
+
<span class="hits">1</span>
|
89612
|
+
|
89613
|
+
|
89614
|
+
|
89615
|
+
|
89616
|
+
<code class="ruby"> expected = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<Response>\n <PauseRecording/>\n</Response>\n"</code>
|
89617
|
+
</li>
|
89618
|
+
</div>
|
89619
|
+
|
89620
|
+
<div>
|
89621
|
+
<li class="covered" data-hits="1" data-linenumber="15">
|
89622
|
+
<span class="hits">1</span>
|
89623
|
+
|
89624
|
+
|
89625
|
+
|
89626
|
+
|
89330
89627
|
<code class="ruby"> expect(instance.to_bxml).to eq(expected)</code>
|
89331
89628
|
</li>
|
89332
89629
|
</div>
|
89333
89630
|
|
89334
89631
|
<div>
|
89335
|
-
<li class="never" data-hits="" data-linenumber="
|
89632
|
+
<li class="never" data-hits="" data-linenumber="16">
|
89336
89633
|
|
89337
89634
|
|
89338
89635
|
|
@@ -89343,7 +89640,260 @@
|
|
89343
89640
|
</div>
|
89344
89641
|
|
89345
89642
|
<div>
|
89346
|
-
<li class="never" data-hits="" data-linenumber="
|
89643
|
+
<li class="never" data-hits="" data-linenumber="17">
|
89644
|
+
|
89645
|
+
|
89646
|
+
|
89647
|
+
|
89648
|
+
|
89649
|
+
<code class="ruby"></code>
|
89650
|
+
</li>
|
89651
|
+
</div>
|
89652
|
+
|
89653
|
+
<div>
|
89654
|
+
<li class="covered" data-hits="1" data-linenumber="18">
|
89655
|
+
<span class="hits">1</span>
|
89656
|
+
|
89657
|
+
|
89658
|
+
|
89659
|
+
|
89660
|
+
<code class="ruby"> it 'test initializing with multiple nested verbs' do</code>
|
89661
|
+
</li>
|
89662
|
+
</div>
|
89663
|
+
|
89664
|
+
<div>
|
89665
|
+
<li class="covered" data-hits="1" data-linenumber="19">
|
89666
|
+
<span class="hits">1</span>
|
89667
|
+
|
89668
|
+
|
89669
|
+
|
89670
|
+
|
89671
|
+
<code class="ruby"> instance = Bandwidth::Bxml::Response.new([pause_recording, pause_recording])</code>
|
89672
|
+
</li>
|
89673
|
+
</div>
|
89674
|
+
|
89675
|
+
<div>
|
89676
|
+
<li class="covered" data-hits="1" data-linenumber="20">
|
89677
|
+
<span class="hits">1</span>
|
89678
|
+
|
89679
|
+
|
89680
|
+
|
89681
|
+
|
89682
|
+
<code class="ruby"> expected = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<Response>\n <PauseRecording/>\n <PauseRecording/>\n</Response>\n"</code>
|
89683
|
+
</li>
|
89684
|
+
</div>
|
89685
|
+
|
89686
|
+
<div>
|
89687
|
+
<li class="covered" data-hits="1" data-linenumber="21">
|
89688
|
+
<span class="hits">1</span>
|
89689
|
+
|
89690
|
+
|
89691
|
+
|
89692
|
+
|
89693
|
+
<code class="ruby"> expect(instance.to_bxml).to eq(expected)</code>
|
89694
|
+
</li>
|
89695
|
+
</div>
|
89696
|
+
|
89697
|
+
<div>
|
89698
|
+
<li class="never" data-hits="" data-linenumber="22">
|
89699
|
+
|
89700
|
+
|
89701
|
+
|
89702
|
+
|
89703
|
+
|
89704
|
+
<code class="ruby"> end</code>
|
89705
|
+
</li>
|
89706
|
+
</div>
|
89707
|
+
|
89708
|
+
<div>
|
89709
|
+
<li class="never" data-hits="" data-linenumber="23">
|
89710
|
+
|
89711
|
+
|
89712
|
+
|
89713
|
+
|
89714
|
+
|
89715
|
+
<code class="ruby"></code>
|
89716
|
+
</li>
|
89717
|
+
</div>
|
89718
|
+
|
89719
|
+
<div>
|
89720
|
+
<li class="covered" data-hits="1" data-linenumber="24">
|
89721
|
+
<span class="hits">1</span>
|
89722
|
+
|
89723
|
+
|
89724
|
+
|
89725
|
+
|
89726
|
+
<code class="ruby"> it 'test adding a single verb to the Response instance' do</code>
|
89727
|
+
</li>
|
89728
|
+
</div>
|
89729
|
+
|
89730
|
+
<div>
|
89731
|
+
<li class="covered" data-hits="1" data-linenumber="25">
|
89732
|
+
<span class="hits">1</span>
|
89733
|
+
|
89734
|
+
|
89735
|
+
|
89736
|
+
|
89737
|
+
<code class="ruby"> instance.add_verbs(pause_recording)</code>
|
89738
|
+
</li>
|
89739
|
+
</div>
|
89740
|
+
|
89741
|
+
<div>
|
89742
|
+
<li class="covered" data-hits="1" data-linenumber="26">
|
89743
|
+
<span class="hits">1</span>
|
89744
|
+
|
89745
|
+
|
89746
|
+
|
89747
|
+
|
89748
|
+
<code class="ruby"> expected = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<Response>\n <PauseRecording/>\n</Response>\n"</code>
|
89749
|
+
</li>
|
89750
|
+
</div>
|
89751
|
+
|
89752
|
+
<div>
|
89753
|
+
<li class="covered" data-hits="1" data-linenumber="27">
|
89754
|
+
<span class="hits">1</span>
|
89755
|
+
|
89756
|
+
|
89757
|
+
|
89758
|
+
|
89759
|
+
<code class="ruby"> expect(instance.to_bxml).to eq(expected)</code>
|
89760
|
+
</li>
|
89761
|
+
</div>
|
89762
|
+
|
89763
|
+
<div>
|
89764
|
+
<li class="never" data-hits="" data-linenumber="28">
|
89765
|
+
|
89766
|
+
|
89767
|
+
|
89768
|
+
|
89769
|
+
|
89770
|
+
<code class="ruby"> end</code>
|
89771
|
+
</li>
|
89772
|
+
</div>
|
89773
|
+
|
89774
|
+
<div>
|
89775
|
+
<li class="never" data-hits="" data-linenumber="29">
|
89776
|
+
|
89777
|
+
|
89778
|
+
|
89779
|
+
|
89780
|
+
|
89781
|
+
<code class="ruby"></code>
|
89782
|
+
</li>
|
89783
|
+
</div>
|
89784
|
+
|
89785
|
+
<div>
|
89786
|
+
<li class="covered" data-hits="1" data-linenumber="30">
|
89787
|
+
<span class="hits">1</span>
|
89788
|
+
|
89789
|
+
|
89790
|
+
|
89791
|
+
|
89792
|
+
<code class="ruby"> it 'test adding multiple verbs to the Response instance' do</code>
|
89793
|
+
</li>
|
89794
|
+
</div>
|
89795
|
+
|
89796
|
+
<div>
|
89797
|
+
<li class="covered" data-hits="1" data-linenumber="31">
|
89798
|
+
<span class="hits">1</span>
|
89799
|
+
|
89800
|
+
|
89801
|
+
|
89802
|
+
|
89803
|
+
<code class="ruby"> instance.add_verbs([pause_recording, pause_recording])</code>
|
89804
|
+
</li>
|
89805
|
+
</div>
|
89806
|
+
|
89807
|
+
<div>
|
89808
|
+
<li class="covered" data-hits="1" data-linenumber="32">
|
89809
|
+
<span class="hits">1</span>
|
89810
|
+
|
89811
|
+
|
89812
|
+
|
89813
|
+
|
89814
|
+
<code class="ruby"> expected = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<Response>\n <PauseRecording/>\n <PauseRecording/>\n</Response>\n"</code>
|
89815
|
+
</li>
|
89816
|
+
</div>
|
89817
|
+
|
89818
|
+
<div>
|
89819
|
+
<li class="covered" data-hits="1" data-linenumber="33">
|
89820
|
+
<span class="hits">1</span>
|
89821
|
+
|
89822
|
+
|
89823
|
+
|
89824
|
+
|
89825
|
+
<code class="ruby"> expect(instance.to_bxml).to eq(expected)</code>
|
89826
|
+
</li>
|
89827
|
+
</div>
|
89828
|
+
|
89829
|
+
<div>
|
89830
|
+
<li class="never" data-hits="" data-linenumber="34">
|
89831
|
+
|
89832
|
+
|
89833
|
+
|
89834
|
+
|
89835
|
+
|
89836
|
+
<code class="ruby"> end</code>
|
89837
|
+
</li>
|
89838
|
+
</div>
|
89839
|
+
|
89840
|
+
<div>
|
89841
|
+
<li class="never" data-hits="" data-linenumber="35">
|
89842
|
+
|
89843
|
+
|
89844
|
+
|
89845
|
+
|
89846
|
+
|
89847
|
+
<code class="ruby"></code>
|
89848
|
+
</li>
|
89849
|
+
</div>
|
89850
|
+
|
89851
|
+
<div>
|
89852
|
+
<li class="covered" data-hits="1" data-linenumber="36">
|
89853
|
+
<span class="hits">1</span>
|
89854
|
+
|
89855
|
+
|
89856
|
+
|
89857
|
+
|
89858
|
+
<code class="ruby"> it 'test the to_bxml method of the Response instance' do</code>
|
89859
|
+
</li>
|
89860
|
+
</div>
|
89861
|
+
|
89862
|
+
<div>
|
89863
|
+
<li class="covered" data-hits="1" data-linenumber="37">
|
89864
|
+
<span class="hits">1</span>
|
89865
|
+
|
89866
|
+
|
89867
|
+
|
89868
|
+
|
89869
|
+
<code class="ruby"> expected = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<Response/>\n"</code>
|
89870
|
+
</li>
|
89871
|
+
</div>
|
89872
|
+
|
89873
|
+
<div>
|
89874
|
+
<li class="covered" data-hits="1" data-linenumber="38">
|
89875
|
+
<span class="hits">1</span>
|
89876
|
+
|
89877
|
+
|
89878
|
+
|
89879
|
+
|
89880
|
+
<code class="ruby"> expect(instance.to_bxml).to eq(expected)</code>
|
89881
|
+
</li>
|
89882
|
+
</div>
|
89883
|
+
|
89884
|
+
<div>
|
89885
|
+
<li class="never" data-hits="" data-linenumber="39">
|
89886
|
+
|
89887
|
+
|
89888
|
+
|
89889
|
+
|
89890
|
+
|
89891
|
+
<code class="ruby"> end</code>
|
89892
|
+
</li>
|
89893
|
+
</div>
|
89894
|
+
|
89895
|
+
<div>
|
89896
|
+
<li class="never" data-hits="" data-linenumber="40">
|
89347
89897
|
|
89348
89898
|
|
89349
89899
|
|
@@ -89354,7 +89904,7 @@
|
|
89354
89904
|
</div>
|
89355
89905
|
|
89356
89906
|
<div>
|
89357
|
-
<li class="never" data-hits="" data-linenumber="
|
89907
|
+
<li class="never" data-hits="" data-linenumber="41">
|
89358
89908
|
|
89359
89909
|
|
89360
89910
|
|
@@ -91440,7 +91990,7 @@
|
|
91440
91990
|
|
91441
91991
|
|
91442
91992
|
|
91443
|
-
<code class="ruby"> diversion_treatment: '
|
91993
|
+
<code class="ruby"> diversion_treatment: 'propagate',</code>
|
91444
91994
|
</li>
|
91445
91995
|
</div>
|
91446
91996
|
|
@@ -91726,7 +92276,7 @@
|
|
91726
92276
|
|
91727
92277
|
|
91728
92278
|
|
91729
|
-
<code class="ruby"> expected = "\n<Forward to=\"+19195551234\" from=\"+19195554321\" callTimeout=\"5\" diversionTreatment=\"
|
92279
|
+
<code class="ruby"> expected = "\n<Forward to=\"+19195551234\" from=\"+19195554321\" callTimeout=\"5\" diversionTreatment=\"propagate\" diversionReason=\"user-busy\" uui=\"93d6f3c0be5845960b744fa28015d8ede84bd1a4;encoding=base64,asdf;encoding=jwt\"/>\n"</code>
|
91730
92280
|
</li>
|
91731
92281
|
</div>
|
91732
92282
|
|
@@ -92362,7 +92912,7 @@
|
|
92362
92912
|
|
92363
92913
|
|
92364
92914
|
|
92365
|
-
<code class="ruby"> let(:instance_nested) { Bandwidth::Bxml::Gather.new(
|
92915
|
+
<code class="ruby"> let(:instance_nested) { Bandwidth::Bxml::Gather.new(play_audio, initial_attributes) }</code>
|
92366
92916
|
</li>
|
92367
92917
|
</div>
|
92368
92918
|
|
@@ -92461,7 +93011,7 @@
|
|
92461
93011
|
|
92462
93012
|
|
92463
93013
|
|
92464
|
-
<code class="ruby"> expected = "\n<Gather gatherUrl=\"https://initial.com\" gatherMethod=\"POST\" gatherFallbackUrl=\"https://initial.com\" gatherFallbackMethod=\"POST\" username=\"initial_username\" password=\"initial_password\" fallbackUsername=\"initial_fallback_username\" fallbackPassword=\"initial_fallback_password\" tag=\"initial_tag\" terminatingDigits=\"5\" maxDigits=\"5\" interDigitTimeout=\"5\" firstDigitTimeout=\"5\"
|
93014
|
+
<code class="ruby"> expected = "\n<Gather gatherUrl=\"https://initial.com\" gatherMethod=\"POST\" gatherFallbackUrl=\"https://initial.com\" gatherFallbackMethod=\"POST\" username=\"initial_username\" password=\"initial_password\" fallbackUsername=\"initial_fallback_username\" fallbackPassword=\"initial_fallback_password\" tag=\"initial_tag\" terminatingDigits=\"5\" maxDigits=\"5\" interDigitTimeout=\"5\" firstDigitTimeout=\"5\" repeatCount=\"5\"/>\n"</code>
|
92465
93015
|
</li>
|
92466
93016
|
</div>
|
92467
93017
|
|
@@ -92527,7 +93077,7 @@
|
|
92527
93077
|
|
92528
93078
|
|
92529
93079
|
|
92530
|
-
<code class="ruby"> expected = "\n<Gather gatherUrl=\"https://new.com\" gatherMethod=\"POST\" gatherFallbackUrl=\"https://new.com\" gatherFallbackMethod=\"GET\" username=\"new_username\" password=\"new_password\" fallbackUsername=\"new_fallback_username\" fallbackPassword=\"new_fallback_password\" tag=\"new_tag\" terminatingDigits=\"10\" maxDigits=\"10\" interDigitTimeout=\"10\" firstDigitTimeout=\"10\"
|
93080
|
+
<code class="ruby"> expected = "\n<Gather gatherUrl=\"https://new.com\" gatherMethod=\"POST\" gatherFallbackUrl=\"https://new.com\" gatherFallbackMethod=\"GET\" username=\"new_username\" password=\"new_password\" fallbackUsername=\"new_fallback_username\" fallbackPassword=\"new_fallback_password\" tag=\"new_tag\" terminatingDigits=\"10\" maxDigits=\"10\" interDigitTimeout=\"10\" firstDigitTimeout=\"10\" repeatCount=\"10\"/>\n"</code>
|
92531
93081
|
</li>
|
92532
93082
|
</div>
|
92533
93083
|
|
@@ -92659,7 +93209,7 @@
|
|
92659
93209
|
|
92660
93210
|
|
92661
93211
|
|
92662
|
-
<code class="ruby"> expected = "\n<Gather gatherUrl=\"https://initial.com\" gatherMethod=\"POST\" gatherFallbackUrl=\"https://initial.com\" gatherFallbackMethod=\"POST\" username=\"initial_username\" password=\"initial_password\" fallbackUsername=\"initial_fallback_username\" fallbackPassword=\"initial_fallback_password\" tag=\"initial_tag\" terminatingDigits=\"5\" maxDigits=\"5\" interDigitTimeout=\"5\" firstDigitTimeout=\"5\"
|
93212
|
+
<code class="ruby"> expected = "\n<Gather gatherUrl=\"https://initial.com\" gatherMethod=\"POST\" gatherFallbackUrl=\"https://initial.com\" gatherFallbackMethod=\"POST\" username=\"initial_username\" password=\"initial_password\" fallbackUsername=\"initial_fallback_username\" fallbackPassword=\"initial_fallback_password\" tag=\"initial_tag\" terminatingDigits=\"5\" maxDigits=\"5\" interDigitTimeout=\"5\" firstDigitTimeout=\"5\" repeatCount=\"5\">\n <PlayAudio>https://audio.url/audio1.wav</PlayAudio>\n</Gather>\n"</code>
|
92663
93213
|
</li>
|
92664
93214
|
</div>
|
92665
93215
|
|
@@ -92714,7 +93264,7 @@
|
|
92714
93264
|
|
92715
93265
|
|
92716
93266
|
|
92717
|
-
<code class="ruby"> expected_single = "\n<Gather gatherUrl=\"https://initial.com\" gatherMethod=\"POST\" gatherFallbackUrl=\"https://initial.com\" gatherFallbackMethod=\"POST\" username=\"initial_username\" password=\"initial_password\" fallbackUsername=\"initial_fallback_username\" fallbackPassword=\"initial_fallback_password\" tag=\"initial_tag\" terminatingDigits=\"5\" maxDigits=\"5\" interDigitTimeout=\"5\" firstDigitTimeout=\"5\"
|
93267
|
+
<code class="ruby"> expected_single = "\n<Gather gatherUrl=\"https://initial.com\" gatherMethod=\"POST\" gatherFallbackUrl=\"https://initial.com\" gatherFallbackMethod=\"POST\" username=\"initial_username\" password=\"initial_password\" fallbackUsername=\"initial_fallback_username\" fallbackPassword=\"initial_fallback_password\" tag=\"initial_tag\" terminatingDigits=\"5\" maxDigits=\"5\" interDigitTimeout=\"5\" firstDigitTimeout=\"5\" repeatCount=\"5\">\n <PlayAudio>https://audio.url/audio1.wav</PlayAudio>\n <SpeakSentence><lang xml:lang=\"es-MX\">Hola</lang>ruby speak sentence <emphasis>SSML test</emphasis></SpeakSentence>\n</Gather>\n"</code>
|
92718
93268
|
</li>
|
92719
93269
|
</div>
|
92720
93270
|
|
@@ -92725,7 +93275,7 @@
|
|
92725
93275
|
|
92726
93276
|
|
92727
93277
|
|
92728
|
-
<code class="ruby"> instance_nested.
|
93278
|
+
<code class="ruby"> instance_nested.add_audio_verbs(speak_sentence)</code>
|
92729
93279
|
</li>
|
92730
93280
|
</div>
|
92731
93281
|
|
@@ -92758,7 +93308,7 @@
|
|
92758
93308
|
|
92759
93309
|
|
92760
93310
|
|
92761
|
-
<code class="ruby"> expected_multiple = "\n<Gather gatherUrl=\"https://initial.com\" gatherMethod=\"POST\" gatherFallbackUrl=\"https://initial.com\" gatherFallbackMethod=\"POST\" username=\"initial_username\" password=\"initial_password\" fallbackUsername=\"initial_fallback_username\" fallbackPassword=\"initial_fallback_password\" tag=\"initial_tag\" terminatingDigits=\"5\" maxDigits=\"5\" interDigitTimeout=\"5\" firstDigitTimeout=\"5\"
|
93311
|
+
<code class="ruby"> expected_multiple = "\n<Gather gatherUrl=\"https://initial.com\" gatherMethod=\"POST\" gatherFallbackUrl=\"https://initial.com\" gatherFallbackMethod=\"POST\" username=\"initial_username\" password=\"initial_password\" fallbackUsername=\"initial_fallback_username\" fallbackPassword=\"initial_fallback_password\" tag=\"initial_tag\" terminatingDigits=\"5\" maxDigits=\"5\" interDigitTimeout=\"5\" firstDigitTimeout=\"5\" repeatCount=\"5\">\n <PlayAudio>https://audio.url/audio1.wav</PlayAudio>\n <SpeakSentence><lang xml:lang=\"es-MX\">Hola</lang>ruby speak sentence <emphasis>SSML test</emphasis></SpeakSentence>\n <SpeakSentence><lang xml:lang=\"es-MX\">Hola</lang>ruby speak sentence <emphasis>SSML test</emphasis></SpeakSentence>\n <PlayAudio>https://audio.url/audio1.wav</PlayAudio>\n</Gather>\n"</code>
|
92762
93312
|
</li>
|
92763
93313
|
</div>
|
92764
93314
|
|
@@ -92769,7 +93319,7 @@
|
|
92769
93319
|
|
92770
93320
|
|
92771
93321
|
|
92772
|
-
<code class="ruby"> instance_nested.
|
93322
|
+
<code class="ruby"> instance_nested.add_audio_verbs([speak_sentence, play_audio])</code>
|
92773
93323
|
</li>
|
92774
93324
|
</div>
|
92775
93325
|
|
@@ -99669,7 +100219,7 @@
|
|
99669
100219
|
|
99670
100220
|
|
99671
100221
|
|
99672
|
-
<code class="ruby"> let(:instance_nested) { Bandwidth::Bxml::StartStream.new(
|
100222
|
+
<code class="ruby"> let(:instance_nested) { Bandwidth::Bxml::StartStream.new(stream_param_1, initial_attributes) }</code>
|
99673
100223
|
</li>
|
99674
100224
|
</div>
|
99675
100225
|
|
@@ -100032,7 +100582,7 @@
|
|
100032
100582
|
|
100033
100583
|
|
100034
100584
|
|
100035
|
-
<code class="ruby"> instance_nested.
|
100585
|
+
<code class="ruby"> instance_nested.add_stream_params(stream_param_2)</code>
|
100036
100586
|
</li>
|
100037
100587
|
</div>
|
100038
100588
|
|
@@ -100076,7 +100626,7 @@
|
|
100076
100626
|
|
100077
100627
|
|
100078
100628
|
|
100079
|
-
<code class="ruby"> instance_nested.
|
100629
|
+
<code class="ruby"> instance_nested.add_stream_params([stream_param_2, stream_param_2])</code>
|
100080
100630
|
</li>
|
100081
100631
|
</div>
|
100082
100632
|
|
@@ -100514,7 +101064,7 @@
|
|
100514
101064
|
|
100515
101065
|
|
100516
101066
|
|
100517
|
-
<code class="ruby"> let(:instance_nested) { Bandwidth::Bxml::StartTranscription.new(
|
101067
|
+
<code class="ruby"> let(:instance_nested) { Bandwidth::Bxml::StartTranscription.new(custom_param_1, initial_attributes) }</code>
|
100518
101068
|
</li>
|
100519
101069
|
</div>
|
100520
101070
|
|
@@ -100877,7 +101427,7 @@
|
|
100877
101427
|
|
100878
101428
|
|
100879
101429
|
|
100880
|
-
<code class="ruby"> instance_nested.
|
101430
|
+
<code class="ruby"> instance_nested.add_custom_params(custom_param_2)</code>
|
100881
101431
|
</li>
|
100882
101432
|
</div>
|
100883
101433
|
|
@@ -100921,7 +101471,7 @@
|
|
100921
101471
|
|
100922
101472
|
|
100923
101473
|
|
100924
|
-
<code class="ruby"> instance_nested.
|
101474
|
+
<code class="ruby"> instance_nested.add_custom_params([custom_param_2, custom_param_2])</code>
|
100925
101475
|
</li>
|
100926
101476
|
</div>
|
100927
101477
|
|
@@ -103030,7 +103580,7 @@
|
|
103030
103580
|
|
103031
103581
|
|
103032
103582
|
|
103033
|
-
<code class="ruby"> diversion_treatment: '
|
103583
|
+
<code class="ruby"> diversion_treatment: 'propagate',</code>
|
103034
103584
|
</li>
|
103035
103585
|
</div>
|
103036
103586
|
|
@@ -103327,7 +103877,7 @@
|
|
103327
103877
|
|
103328
103878
|
|
103329
103879
|
|
103330
|
-
<code class="ruby"> let(:instance_nested) { Bandwidth::Bxml::Transfer.new(
|
103880
|
+
<code class="ruby"> let(:instance_nested) { Bandwidth::Bxml::Transfer.new(phone_number, initial_attributes) }</code>
|
103331
103881
|
</li>
|
103332
103882
|
</div>
|
103333
103883
|
|
@@ -103426,7 +103976,7 @@
|
|
103426
103976
|
|
103427
103977
|
|
103428
103978
|
|
103429
|
-
<code class="ruby"> expected = "\n<Transfer transferCallerId=\"+19195551234\" callTimeout=\"5\" transferCompleteUrl=\"https://initial.com\" transferCompleteMethod=\"POST\" transferCompleteFallbackUrl=\"https://initial.com\" transferCompleteFallbackMethod=\"POST\" username=\"initial_username\" password=\"initial_password\" fallbackUsername=\"initial_fallback_username\" fallbackPassword=\"initial_fallback_password\" tag=\"initial_tag\" diversionTreatment=\"
|
103979
|
+
<code class="ruby"> expected = "\n<Transfer transferCallerId=\"+19195551234\" callTimeout=\"5\" transferCompleteUrl=\"https://initial.com\" transferCompleteMethod=\"POST\" transferCompleteFallbackUrl=\"https://initial.com\" transferCompleteFallbackMethod=\"POST\" username=\"initial_username\" password=\"initial_password\" fallbackUsername=\"initial_fallback_username\" fallbackPassword=\"initial_fallback_password\" tag=\"initial_tag\" diversionTreatment=\"propagate\" diversionReason=\"user-busy\"/>\n"</code>
|
103430
103980
|
</li>
|
103431
103981
|
</div>
|
103432
103982
|
|
@@ -103624,7 +104174,7 @@
|
|
103624
104174
|
|
103625
104175
|
|
103626
104176
|
|
103627
|
-
<code class="ruby"> expected = "\n<Transfer transferCallerId=\"+19195551234\" callTimeout=\"5\" transferCompleteUrl=\"https://initial.com\" transferCompleteMethod=\"POST\" transferCompleteFallbackUrl=\"https://initial.com\" transferCompleteFallbackMethod=\"POST\" username=\"initial_username\" password=\"initial_password\" fallbackUsername=\"initial_fallback_username\" fallbackPassword=\"initial_fallback_password\" tag=\"initial_tag\" diversionTreatment=\"
|
104177
|
+
<code class="ruby"> expected = "\n<Transfer transferCallerId=\"+19195551234\" callTimeout=\"5\" transferCompleteUrl=\"https://initial.com\" transferCompleteMethod=\"POST\" transferCompleteFallbackUrl=\"https://initial.com\" transferCompleteFallbackMethod=\"POST\" username=\"initial_username\" password=\"initial_password\" fallbackUsername=\"initial_fallback_username\" fallbackPassword=\"initial_fallback_password\" tag=\"initial_tag\" diversionTreatment=\"propagate\" diversionReason=\"user-busy\">\n <PhoneNumber>+19195551234</PhoneNumber>\n</Transfer>\n"</code>
|
103628
104178
|
</li>
|
103629
104179
|
</div>
|
103630
104180
|
|
@@ -103679,7 +104229,7 @@
|
|
103679
104229
|
|
103680
104230
|
|
103681
104231
|
|
103682
|
-
<code class="ruby"> expected_single = "\n<Transfer transferCallerId=\"+19195551234\" callTimeout=\"5\" transferCompleteUrl=\"https://initial.com\" transferCompleteMethod=\"POST\" transferCompleteFallbackUrl=\"https://initial.com\" transferCompleteFallbackMethod=\"POST\" username=\"initial_username\" password=\"initial_password\" fallbackUsername=\"initial_fallback_username\" fallbackPassword=\"initial_fallback_password\" tag=\"initial_tag\" diversionTreatment=\"
|
104232
|
+
<code class="ruby"> expected_single = "\n<Transfer transferCallerId=\"+19195551234\" callTimeout=\"5\" transferCompleteUrl=\"https://initial.com\" transferCompleteMethod=\"POST\" transferCompleteFallbackUrl=\"https://initial.com\" transferCompleteFallbackMethod=\"POST\" username=\"initial_username\" password=\"initial_password\" fallbackUsername=\"initial_fallback_username\" fallbackPassword=\"initial_fallback_password\" tag=\"initial_tag\" diversionTreatment=\"propagate\" diversionReason=\"user-busy\">\n <PhoneNumber>+19195551234</PhoneNumber>\n <SipUri>sip:1-999-123-4567@voip-provider.example.net</SipUri>\n</Transfer>\n"</code>
|
103683
104233
|
</li>
|
103684
104234
|
</div>
|
103685
104235
|
|
@@ -103690,7 +104240,7 @@
|
|
103690
104240
|
|
103691
104241
|
|
103692
104242
|
|
103693
|
-
<code class="ruby"> instance_nested.
|
104243
|
+
<code class="ruby"> instance_nested.add_transfer_recipients(sip_uri)</code>
|
103694
104244
|
</li>
|
103695
104245
|
</div>
|
103696
104246
|
|
@@ -103723,7 +104273,7 @@
|
|
103723
104273
|
|
103724
104274
|
|
103725
104275
|
|
103726
|
-
<code class="ruby"> expected_multiple = "\n<Transfer transferCallerId=\"+19195551234\" callTimeout=\"5\" transferCompleteUrl=\"https://initial.com\" transferCompleteMethod=\"POST\" transferCompleteFallbackUrl=\"https://initial.com\" transferCompleteFallbackMethod=\"POST\" username=\"initial_username\" password=\"initial_password\" fallbackUsername=\"initial_fallback_username\" fallbackPassword=\"initial_fallback_password\" tag=\"initial_tag\" diversionTreatment=\"
|
104276
|
+
<code class="ruby"> expected_multiple = "\n<Transfer transferCallerId=\"+19195551234\" callTimeout=\"5\" transferCompleteUrl=\"https://initial.com\" transferCompleteMethod=\"POST\" transferCompleteFallbackUrl=\"https://initial.com\" transferCompleteFallbackMethod=\"POST\" username=\"initial_username\" password=\"initial_password\" fallbackUsername=\"initial_fallback_username\" fallbackPassword=\"initial_fallback_password\" tag=\"initial_tag\" diversionTreatment=\"propagate\" diversionReason=\"user-busy\">\n <PhoneNumber>+19195551234</PhoneNumber>\n <SipUri>sip:1-999-123-4567@voip-provider.example.net</SipUri>\n <SipUri>sip:1-999-123-4567@voip-provider.example.net</SipUri>\n <PhoneNumber>+19195551234</PhoneNumber>\n</Transfer>\n"</code>
|
103727
104277
|
</li>
|
103728
104278
|
</div>
|
103729
104279
|
|
@@ -103734,7 +104284,7 @@
|
|
103734
104284
|
|
103735
104285
|
|
103736
104286
|
|
103737
|
-
<code class="ruby"> instance_nested.
|
104287
|
+
<code class="ruby"> instance_nested.add_transfer_recipients([sip_uri, phone_number])</code>
|
103738
104288
|
</li>
|
103739
104289
|
</div>
|
103740
104290
|
|