bandwidth-sdk 3.11.0 → 3.12.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9ee38371ece860ee70a08149297e79e58a0ca72a093168951ca8256c6a83e45c
4
- data.tar.gz: dc0ab4ad91c207356b662728a700079f2c1aeb965f8b34681463c5c28a4a649d
3
+ metadata.gz: f1687b38b81b8c6261c0038d6bf49001afb6a1126098cf07cba1576cdba424a5
4
+ data.tar.gz: 7499a2af7f7671fab927b849b412a530ae434355d7f500394a373d473992de33
5
5
  SHA512:
6
- metadata.gz: e5823198c1684b55e3505e8439615cef32b6d71745795ad215710760ff58638a3b34db6afaa31a20d495d2a33e620689e8d3644813831f1cb7ad47376513ac07
7
- data.tar.gz: 8d4f8f124305b63102cfdb1908897ac521f14f4fcc133562f402dc28f4c9a69eb613765a6e5eb610a3ce0aaf49bcff078c575a2986cb065df750c4b429ab6536
6
+ metadata.gz: 4f5db84d3cd22771e57fa410a2ae87f9f648b389977a4bc2cb8c8a0c99dea18e26babf107572e4415102cd6c464e9cbaddfaed1989eac84254c8f850a757c7c6
7
+ data.tar.gz: f92963f362440fa3853db7ec18e019321d3ccac442490dfe18a19c6749339e7a65eb5ab1dfa25723a4384b1252ed536ef6bdce78605029372dc6b8f74f1a4316
@@ -60,7 +60,9 @@ require_relative 'bandwidth/voice_lib/bxml/verbs/resume_recording.rb'
60
60
  require_relative 'bandwidth/voice_lib/bxml/verbs/ring.rb'
61
61
  require_relative 'bandwidth/voice_lib/bxml/verbs/send_dtmf.rb'
62
62
  require_relative 'bandwidth/voice_lib/bxml/verbs/speak_sentence.rb'
63
+ require_relative 'bandwidth/voice_lib/bxml/verbs/start_gather.rb'
63
64
  require_relative 'bandwidth/voice_lib/bxml/verbs/start_recording.rb'
65
+ require_relative 'bandwidth/voice_lib/bxml/verbs/stop_gather.rb'
64
66
  require_relative 'bandwidth/voice_lib/bxml/verbs/stop_recording.rb'
65
67
  require_relative 'bandwidth/voice_lib/bxml/verbs/transfer.rb'
66
68
  require_relative 'bandwidth/voice_lib/bxml/verbs/xml_verb.rb'
@@ -13,7 +13,7 @@ module Bandwidth
13
13
  @http_call_back = http_call_back
14
14
 
15
15
  @global_headers = {
16
- 'user-agent' => 'ruby-sdk-refs/tags/ruby3.11.0'
16
+ 'user-agent' => 'ruby-sdk-refs/tags/ruby3.12.0'
17
17
  }
18
18
  end
19
19
 
@@ -13,7 +13,7 @@ module Bandwidth
13
13
  @http_call_back = http_call_back
14
14
 
15
15
  @global_headers = {
16
- 'user-agent' => 'ruby-sdk-refs/tags/ruby3.11.0'
16
+ 'user-agent' => 'ruby-sdk-refs/tags/ruby3.12.0'
17
17
  }
18
18
  end
19
19
 
@@ -0,0 +1,20 @@
1
+ require_relative 'xml_verb'
2
+
3
+ module Bandwidth
4
+ module Voice
5
+ # The StartGather verb is used to start a gather
6
+ class StartGather
7
+ include XmlVerb
8
+
9
+ def to_bxml(xml)
10
+ xml.StartGather(compact_hash({
11
+ 'username' => username,
12
+ 'password' => password,
13
+ 'tag' => tag,
14
+ 'dtmfUrl' => dtmf_url,
15
+ 'dtmfMethod' => dtmf_method,
16
+ }))
17
+ end
18
+ end
19
+ end
20
+ end
@@ -0,0 +1,14 @@
1
+ require_relative 'xml_verb'
2
+
3
+ module Bandwidth
4
+ module Voice
5
+ # The StopGather verb is used to complete a gather
6
+ class StopGather
7
+ include XmlVerb
8
+
9
+ def to_bxml(xml)
10
+ xml.StopGather()
11
+ end
12
+ end
13
+ end
14
+ end
@@ -13,7 +13,7 @@ module Bandwidth
13
13
  @http_call_back = http_call_back
14
14
 
15
15
  @global_headers = {
16
- 'user-agent' => 'ruby-sdk-refs/tags/ruby3.11.0'
16
+ 'user-agent' => 'ruby-sdk-refs/tags/ruby3.12.0'
17
17
  }
18
18
  end
19
19
 
@@ -13,7 +13,7 @@ module Bandwidth
13
13
  @http_call_back = http_call_back
14
14
 
15
15
  @global_headers = {
16
- 'user-agent' => 'ruby-sdk-refs/tags/ruby3.11.0'
16
+ 'user-agent' => 'ruby-sdk-refs/tags/ruby3.12.0'
17
17
  }
18
18
  end
19
19
 
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.11.0
4
+ version: 3.12.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-09 00:00:00.000000000 Z
11
+ date: 2020-09-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: logging
@@ -169,7 +169,9 @@ files:
169
169
  - lib/bandwidth/voice_lib/bxml/verbs/ring.rb
170
170
  - lib/bandwidth/voice_lib/bxml/verbs/send_dtmf.rb
171
171
  - lib/bandwidth/voice_lib/bxml/verbs/speak_sentence.rb
172
+ - lib/bandwidth/voice_lib/bxml/verbs/start_gather.rb
172
173
  - lib/bandwidth/voice_lib/bxml/verbs/start_recording.rb
174
+ - lib/bandwidth/voice_lib/bxml/verbs/stop_gather.rb
173
175
  - lib/bandwidth/voice_lib/bxml/verbs/stop_recording.rb
174
176
  - lib/bandwidth/voice_lib/bxml/verbs/transfer.rb
175
177
  - lib/bandwidth/voice_lib/bxml/verbs/xml_verb.rb