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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a27ed8cd085180211649d0a0afbd5d4a99208c821496f31ce9a6f934817dacbd
4
- data.tar.gz: 85f03331af6709b83dafeac29ca8becb265bb9343f2110a8c81b5f45420af8f5
3
+ metadata.gz: 50d081bcf04cd893b8f9f07c7d02ddb0c00a469f50378dad5252269ad3a27d0f
4
+ data.tar.gz: 9af6407712331b104bc103c1bc839bdf7237a9e52d9cf854c8a7fa7f7a2bcf57
5
5
  SHA512:
6
- metadata.gz: 98e8f113a996e58efbd061cd30dbc77f325762b78dd0913c1f69bb15578792aa21e07e0cb8f95e15f6e6c908e7522adc164eb185b069b4b689400047a7206949
7
- data.tar.gz: a6834d60817a9189e1b7731fff4e4022a7bbc842de1a0302718d168fa512b8c42fe12be64a90345a7388e6bb8d554a8c85a0c139f8f65ee7faf391fd0e38e389
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.0.0
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.0.0'
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.0.0).
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
 
@@ -1,4 +1,3 @@
1
-
2
1
  require 'builder'
3
2
  Dir[File.dirname(__FILE__) + '/verbs/*'].each {|file|
4
3
  require_relative file
@@ -1,4 +1,3 @@
1
-
2
1
  require_relative 'xml_verb'
3
2
 
4
3
  module Bandwidth
@@ -1,4 +1,3 @@
1
-
2
1
  require_relative 'xml_verb'
3
2
 
4
3
  module Bandwidth
@@ -1,4 +1,3 @@
1
-
2
1
  require_relative 'xml_verb'
3
2
 
4
3
  module Bandwidth
@@ -1,4 +1,3 @@
1
-
2
1
  require_relative 'xml_verb'
3
2
 
4
3
  module Bandwidth
@@ -0,0 +1,14 @@
1
+ require_relative 'xml_verb'
2
+
3
+ module Bandwidth
4
+ module Voice
5
+ # The PauseRecording verb is used to pause recording in a call
6
+ class PauseRecording
7
+ include XmlVerb
8
+
9
+ def to_bxml(xml)
10
+ xml.PauseRecording()
11
+ end
12
+ end
13
+ end
14
+ end
@@ -1,4 +1,3 @@
1
-
2
1
  require_relative 'xml_verb'
3
2
 
4
3
  module Bandwidth
@@ -1,4 +1,3 @@
1
-
2
1
  require_relative 'xml_verb'
3
2
 
4
3
  module Bandwidth
@@ -1,4 +1,3 @@
1
-
2
1
  require_relative 'xml_verb'
3
2
 
4
3
  module Bandwidth
@@ -1,4 +1,3 @@
1
-
2
1
  require_relative 'xml_verb'
3
2
 
4
3
  module Bandwidth
@@ -0,0 +1,14 @@
1
+ require_relative 'xml_verb'
2
+
3
+ module Bandwidth
4
+ module Voice
5
+ # The ResumeRecording verb is used to resume recording in a call
6
+ class ResumeRecording
7
+ include XmlVerb
8
+
9
+ def to_bxml(xml)
10
+ xml.ResumeRecording()
11
+ end
12
+ end
13
+ end
14
+ end
@@ -1,4 +1,3 @@
1
-
2
1
  require_relative 'xml_verb'
3
2
 
4
3
  module Bandwidth
@@ -1,4 +1,3 @@
1
-
2
1
  require_relative 'xml_verb'
3
2
 
4
3
  module Bandwidth
@@ -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
@@ -0,0 +1,14 @@
1
+ require_relative 'xml_verb'
2
+
3
+ module Bandwidth
4
+ module Voice
5
+ # The StopRecording verb is used to stop recording in a call
6
+ class StopRecording
7
+ include XmlVerb
8
+
9
+ def to_bxml(xml)
10
+ xml.StopRecording()
11
+ end
12
+ end
13
+ end
14
+ end
@@ -1,4 +1,3 @@
1
-
2
1
  require_relative 'xml_verb'
3
2
 
4
3
  module Bandwidth
@@ -1,4 +1,3 @@
1
-
2
1
  module Bandwidth
3
2
  module Voice
4
3
  module XmlVerb
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.0.0
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: 2019-12-13 00:00:00.000000000 Z
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.0.3
175
+ rubygems_version: 3.1.2
172
176
  signing_key:
173
177
  specification_version: 4
174
178
  summary: bandwidth