plivo 4.3.1 → 4.3.2

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
  SHA1:
3
- metadata.gz: a6eff6ff164e91f98639704c53c4a20d9e68357a
4
- data.tar.gz: b101bbc03a5276a24bde4d488d73abbbd2fa748a
3
+ metadata.gz: cdb4a669c03b7deb0f58e4bfa5ea0060c7c36f44
4
+ data.tar.gz: f86fd0d66544f3effebe5068a29dbb0a85cda211
5
5
  SHA512:
6
- metadata.gz: 1022252f290644d4fd32dd0deca29332a2ccf292b360d645c1d853c3ca8162a0101116d332b4530123e9ccad9fdcb4de753da22f9fa9a7ed12429487b3b22f44
7
- data.tar.gz: 2427aafbfe52987e671fbdc8642daeb4a96cdabe8be7ebfad9c2c05c050b5e52a624f29b78d78a435e2071d79b874b67a1d9241538631edacb21d1464ba1ac2e
6
+ metadata.gz: 5f8ed82897344fbd79ab88bcbf992e2910c38a86d047b164395adfa165824fa1967bf30a6cced151fa8b77c20a730d453b8269405e9f609143b12ce9de6a546e
7
+ data.tar.gz: a2285dad0cff34a4b0e31c1118ebe02db9970f5e9747803872cd7f6a1f4be7de91571330e4f9dbeb0f4cf8826abd6bcdbfe669453b45341613aa0259337adf5d
data/CHANGELOG.md CHANGED
@@ -1,5 +1,8 @@
1
1
  # Change Log
2
2
 
3
+ ## [4.3.2](https://github.com/plivo/plivo-ruby/releases/tag/v4.3.2) (2019-11-13)
4
+ - Add GetInput XML support
5
+
3
6
  ## [4.3.1](https://github.com/plivo/plivo-ruby/releases/tag/v4.3.1) (2019-10-16)
4
7
  - Add SSML support
5
8
 
data/README.md CHANGED
@@ -8,7 +8,7 @@ The Plivo Ruby SDK makes it simpler to integrate communications into your Ruby a
8
8
  Add this line to your application's Gemfile:
9
9
 
10
10
  ```ruby
11
- gem 'plivo', '>= 4.3.1'
11
+ gem 'plivo', '>= 4.3.2'
12
12
  ```
13
13
 
14
14
  And then execute:
data/lib/plivo/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Plivo
2
- VERSION = '4.3.1'.freeze
2
+ VERSION = '4.3.2'.freeze
3
3
  end
data/lib/plivo/xml.rb CHANGED
@@ -7,6 +7,7 @@ require_relative 'xml/conference'
7
7
  require_relative 'xml/dial'
8
8
  require_relative 'xml/dtmf'
9
9
  require_relative 'xml/get_digits'
10
+ require_relative 'xml/get_input'
10
11
  require_relative 'xml/hangup'
11
12
  require_relative 'xml/message'
12
13
  require_relative 'xml/number'
@@ -0,0 +1,16 @@
1
+ module Plivo
2
+ module XML
3
+ class GetInput < Element
4
+ @nestables = %w[Speak Play Wait]
5
+ @valid_attributes = %w[action method inputType executionTimeout
6
+ digitEndTimeout speechEndTimeout finishOnKey
7
+ numDigits speechModel hints profanityFilter
8
+ interimSpeechResultsCallback log language
9
+ interimSpeechResultsCallbackMethod redirect]
10
+
11
+ def initialize(attributes = {}, &block)
12
+ super(nil, attributes, &block)
13
+ end
14
+ end
15
+ end
16
+ end
@@ -1,7 +1,7 @@
1
1
  module Plivo
2
2
  module XML
3
3
  class Response < Element
4
- @nestables = %w[Speak Play GetDigits Record Dial Message
4
+ @nestables = %w[Speak Play GetDigits GetInput Record Dial Message
5
5
  Redirect Wait Hangup PreAnswer Conference DTMF]
6
6
  @valid_attributes = []
7
7
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: plivo
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.3.1
4
+ version: 4.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - The Plivo SDKs Team
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-11-05 00:00:00.000000000 Z
11
+ date: 2019-11-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday
@@ -186,6 +186,7 @@ files:
186
186
  - lib/plivo/xml/element.rb
187
187
  - lib/plivo/xml/emphasis.rb
188
188
  - lib/plivo/xml/get_digits.rb
189
+ - lib/plivo/xml/get_input.rb
189
190
  - lib/plivo/xml/hangup.rb
190
191
  - lib/plivo/xml/lang.rb
191
192
  - lib/plivo/xml/message.rb