bandwidth-sdk 2.0.0 → 2.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +3 -3
- data/lib/bandwidth/voice_lib/bxml/bxml.rb +0 -1
- data/lib/bandwidth/voice_lib/bxml/verbs/forward.rb +0 -1
- data/lib/bandwidth/voice_lib/bxml/verbs/gather.rb +0 -1
- data/lib/bandwidth/voice_lib/bxml/verbs/hangup.rb +0 -1
- data/lib/bandwidth/voice_lib/bxml/verbs/pause.rb +0 -1
- data/lib/bandwidth/voice_lib/bxml/verbs/pause_recording.rb +14 -0
- data/lib/bandwidth/voice_lib/bxml/verbs/phone_number.rb +0 -1
- data/lib/bandwidth/voice_lib/bxml/verbs/play_audio.rb +0 -1
- data/lib/bandwidth/voice_lib/bxml/verbs/record.rb +0 -1
- data/lib/bandwidth/voice_lib/bxml/verbs/redirect.rb +0 -1
- data/lib/bandwidth/voice_lib/bxml/verbs/resume_recording.rb +14 -0
- data/lib/bandwidth/voice_lib/bxml/verbs/send_dtmf.rb +0 -1
- data/lib/bandwidth/voice_lib/bxml/verbs/speak_sentence.rb +0 -1
- data/lib/bandwidth/voice_lib/bxml/verbs/start_recording.rb +22 -0
- data/lib/bandwidth/voice_lib/bxml/verbs/stop_recording.rb +14 -0
- data/lib/bandwidth/voice_lib/bxml/verbs/transfer.rb +0 -1
- data/lib/bandwidth/voice_lib/bxml/verbs/xml_verb.rb +0 -1
- metadata +7 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 50d081bcf04cd893b8f9f07c7d02ddb0c00a469f50378dad5252269ad3a27d0f
|
4
|
+
data.tar.gz: 9af6407712331b104bc103c1bc839bdf7237a9e52d9cf854c8a7fa7f7a2bcf57
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9cd73cdf568a4992fc24bd8a7374c4c3adf6ab9cb724eb4d77eaab56713d744d9b2247c8be60183fc03927c53cb9b17fc7fdb05ec3a428bcedbf4e009111eea8
|
7
|
+
data.tar.gz: 2b7d856bb5183dc86da270f6dd3aa335ec20edb0419c2c815314e117106b5aec5aa10e8937fe05e7671583a7fafc43bb46ddff63bbf8635f915dd1dc1c248400
|
data/README.md
CHANGED
@@ -7,16 +7,16 @@ Bandwidth's set of APIs
|
|
7
7
|
Install the gem from the command line:
|
8
8
|
|
9
9
|
```ruby
|
10
|
-
gem install bandwidth-sdk -v 2.
|
10
|
+
gem install bandwidth-sdk -v 2.1.0
|
11
11
|
```
|
12
12
|
|
13
13
|
Or add the gem to your Gemfile and run `bundle`:
|
14
14
|
|
15
15
|
```ruby
|
16
|
-
gem 'bandwidth-sdk', '2.
|
16
|
+
gem 'bandwidth-sdk', '2.1.0'
|
17
17
|
```
|
18
18
|
|
19
|
-
For additional gem details, see the [RubyGems page for the bandwidth-sdk gem](https://rubygems.org/gems/bandwidth-sdk/versions/2.
|
19
|
+
For additional gem details, see the [RubyGems page for the bandwidth-sdk gem](https://rubygems.org/gems/bandwidth-sdk/versions/2.1.0).
|
20
20
|
|
21
21
|
## Initialize the API Client
|
22
22
|
|
@@ -0,0 +1,22 @@
|
|
1
|
+
require_relative 'xml_verb'
|
2
|
+
|
3
|
+
module Bandwidth
|
4
|
+
module Voice
|
5
|
+
# The StartRecording verb is used to trigger call recording
|
6
|
+
class StartRecording
|
7
|
+
include XmlVerb
|
8
|
+
|
9
|
+
def to_bxml(xml)
|
10
|
+
xml.StartRecording(compact_hash({
|
11
|
+
'tag' => tag,
|
12
|
+
'username' => username,
|
13
|
+
'password' => password,
|
14
|
+
'recordingAvailableUrl' => recording_available_url,
|
15
|
+
'recordingAvailableMethod' => recording_available_method,
|
16
|
+
'fileFormat' => file_format,
|
17
|
+
'multiChannel' => multi_channel
|
18
|
+
}))
|
19
|
+
end
|
20
|
+
end
|
21
|
+
end
|
22
|
+
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: 2.
|
4
|
+
version: 2.1.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:
|
11
|
+
date: 2020-01-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: logging
|
@@ -121,12 +121,16 @@ files:
|
|
121
121
|
- lib/bandwidth/voice_lib/bxml/verbs/gather.rb
|
122
122
|
- lib/bandwidth/voice_lib/bxml/verbs/hangup.rb
|
123
123
|
- lib/bandwidth/voice_lib/bxml/verbs/pause.rb
|
124
|
+
- lib/bandwidth/voice_lib/bxml/verbs/pause_recording.rb
|
124
125
|
- lib/bandwidth/voice_lib/bxml/verbs/phone_number.rb
|
125
126
|
- lib/bandwidth/voice_lib/bxml/verbs/play_audio.rb
|
126
127
|
- lib/bandwidth/voice_lib/bxml/verbs/record.rb
|
127
128
|
- lib/bandwidth/voice_lib/bxml/verbs/redirect.rb
|
129
|
+
- lib/bandwidth/voice_lib/bxml/verbs/resume_recording.rb
|
128
130
|
- lib/bandwidth/voice_lib/bxml/verbs/send_dtmf.rb
|
129
131
|
- lib/bandwidth/voice_lib/bxml/verbs/speak_sentence.rb
|
132
|
+
- lib/bandwidth/voice_lib/bxml/verbs/start_recording.rb
|
133
|
+
- lib/bandwidth/voice_lib/bxml/verbs/stop_recording.rb
|
130
134
|
- lib/bandwidth/voice_lib/bxml/verbs/transfer.rb
|
131
135
|
- lib/bandwidth/voice_lib/bxml/verbs/xml_verb.rb
|
132
136
|
- lib/bandwidth/voice_lib/voice.rb
|
@@ -168,7 +172,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
168
172
|
- !ruby/object:Gem::Version
|
169
173
|
version: '0'
|
170
174
|
requirements: []
|
171
|
-
rubygems_version: 3.
|
175
|
+
rubygems_version: 3.1.2
|
172
176
|
signing_key:
|
173
177
|
specification_version: 4
|
174
178
|
summary: bandwidth
|