bandwidth-sdk 3.12.1 → 3.13.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 957c708a64fbff873ec8eabc221cd4832deaf4d68ac4d29c1200104ddf1a9320
4
- data.tar.gz: dff8ddef5916e696798d712f257be3f9ef471ec2fadc42567ffa248b119e9e3d
3
+ metadata.gz: ed15d4c81ec792633ad41f4679425c1d1f3e57df7a83d8bc58def8b2a4812efa
4
+ data.tar.gz: b189ea95d1312ff6b2e6285fb94635744a6c0bb97f721a05537792196fc8d57c
5
5
  SHA512:
6
- metadata.gz: ef6d3e69a46cf27463b1bc72cea88a0a2e4dd78558758ca6c72eceedd99c48c5c304e08914cecd8e3f5919bb617d501930dc81d8fc28aeba47148ecf0a214f7f
7
- data.tar.gz: 487a7c3d36817d419e482ac89d98927803789b03b3be3148eeeb246f7fbfdae1da74bf500918b4eac1f8a7c7cce890290be1da843ca632c9ee26719d232e6b12
6
+ metadata.gz: 26963cb02c3572ed72702842c4544a9bbf9a88cc81854a25ae1024701fe49fc416df7b2a9a206ca3a7942e2a886b027e7b79903f9da940f0861d7dea083368ec
7
+ data.tar.gz: 30ac145418345e06cfdfcbe692c03ab974eef7494fe7120b7a37a13d8f06716093eab4f52aaac7ff8530dfe5b7baae1ccca67e5b68590f56f4539af91f61980b
@@ -0,0 +1,25 @@
1
+ require_relative 'xml_verb'
2
+
3
+ module Bandwidth
4
+ module Voice
5
+ class SipUri
6
+ include XmlVerb
7
+ def to_bxml(xml)
8
+ xml.SipUri(uri, compact_hash({
9
+ 'transferAnswerUrl' => transfer_answer_url,
10
+ 'transferAnswerMethod' => transfer_answer_method,
11
+ 'transferDisconnectUrl' => transfer_disconnect_url,
12
+ 'transferDisconnectMethod' => transfer_disconnect_method,
13
+ 'username' => username,
14
+ 'password' => password,
15
+ 'tag' => tag,
16
+ 'uui' => uui,
17
+ 'transferAnswerFallbackUrl' => transfer_answer_fallback_url,
18
+ 'transferAnswerFallbackMethod' => transfer_answer_fallback_method,
19
+ 'fallbackUsername' => fallback_username,
20
+ 'fallbackPassword' => fallback_password
21
+ }))
22
+ end
23
+ end
24
+ end
25
+ end
@@ -0,0 +1,13 @@
1
+ require_relative 'xml_verb'
2
+
3
+ module Bandwidth
4
+ module Voice
5
+ class Tag
6
+ include XmlVerb
7
+
8
+ def to_bxml(xml)
9
+ xml.Tag(tag)
10
+ end
11
+ end
12
+ end
13
+ end
@@ -34,6 +34,9 @@ module Bandwidth
34
34
  phone_numbers.each do |number|
35
35
  embedded_xml(xml, number, PhoneNumber)
36
36
  end
37
+ sip_uris.each do |sip_uri|
38
+ embedded_xml(xml, sip_uri, SipUri)
39
+ end
37
40
  end
38
41
  end
39
42
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bandwidth-sdk
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.12.1
4
+ version: 3.13.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - APIMatic SDK Generator
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-09-23 00:00:00.000000000 Z
11
+ date: 2020-12-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: logging
@@ -168,11 +168,13 @@ files:
168
168
  - lib/bandwidth/voice_lib/bxml/verbs/resume_recording.rb
169
169
  - lib/bandwidth/voice_lib/bxml/verbs/ring.rb
170
170
  - lib/bandwidth/voice_lib/bxml/verbs/send_dtmf.rb
171
+ - lib/bandwidth/voice_lib/bxml/verbs/sip_uri.rb
171
172
  - lib/bandwidth/voice_lib/bxml/verbs/speak_sentence.rb
172
173
  - lib/bandwidth/voice_lib/bxml/verbs/start_gather.rb
173
174
  - lib/bandwidth/voice_lib/bxml/verbs/start_recording.rb
174
175
  - lib/bandwidth/voice_lib/bxml/verbs/stop_gather.rb
175
176
  - lib/bandwidth/voice_lib/bxml/verbs/stop_recording.rb
177
+ - lib/bandwidth/voice_lib/bxml/verbs/tag.rb
176
178
  - lib/bandwidth/voice_lib/bxml/verbs/transfer.rb
177
179
  - lib/bandwidth/voice_lib/bxml/verbs/xml_verb.rb
178
180
  - lib/bandwidth/voice_lib/voice.rb
@@ -241,7 +243,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
241
243
  - !ruby/object:Gem::Version
242
244
  version: '0'
243
245
  requirements: []
244
- rubygems_version: 3.1.2
246
+ rubygems_version: 3.1.4
245
247
  signing_key:
246
248
  specification_version: 4
247
249
  summary: bandwidth