bandwidth-sdk 3.11.0 → 3.12.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/bandwidth.rb +2 -0
- data/lib/bandwidth/messaging_lib/messaging/controllers/base_controller.rb +1 -1
- data/lib/bandwidth/two_factor_auth_lib/two_factor_auth/controllers/base_controller.rb +1 -1
- data/lib/bandwidth/voice_lib/bxml/verbs/start_gather.rb +20 -0
- data/lib/bandwidth/voice_lib/bxml/verbs/stop_gather.rb +14 -0
- data/lib/bandwidth/voice_lib/voice/controllers/base_controller.rb +1 -1
- data/lib/bandwidth/web_rtc_lib/web_rtc/controllers/base_controller.rb +1 -1
- metadata +4 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f1687b38b81b8c6261c0038d6bf49001afb6a1126098cf07cba1576cdba424a5
|
4
|
+
data.tar.gz: 7499a2af7f7671fab927b849b412a530ae434355d7f500394a373d473992de33
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4f5db84d3cd22771e57fa410a2ae87f9f648b389977a4bc2cb8c8a0c99dea18e26babf107572e4415102cd6c464e9cbaddfaed1989eac84254c8f850a757c7c6
|
7
|
+
data.tar.gz: f92963f362440fa3853db7ec18e019321d3ccac442490dfe18a19c6749339e7a65eb5ab1dfa25723a4384b1252ed536ef6bdce78605029372dc6b8f74f1a4316
|
data/lib/bandwidth.rb
CHANGED
@@ -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'
|
@@ -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
|
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.
|
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-
|
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
|