plivo 4.55.0 → 4.55.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/README.md +1 -1
- data/lib/plivo/resources/calls.rb +7 -0
- data/lib/plivo/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2ec0b43b40ce4ebfaaa12d62f58473f2550dc864
|
4
|
+
data.tar.gz: 11c05fe9101ececa61cb6b05e44ef4f3fa470e46
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 54027e5f610a3daa4bdfca7b71a133eb8559508215d390ddc10e192a49df71078e54b80e2fa369bc2cffa12e819a9e4ce00ffa1abad3576043e7ed1c7ab23152
|
7
|
+
data.tar.gz: 0ccbdf731c1e4b8c0befa9fd766177d92e50c9b88fb63f142b12bb7afddce62c8dbb9f7438a8d0dae46d6dd9a72bca35f1dc2d560d66b949a38a88a74acabd5b
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,9 @@
|
|
1
1
|
# Change Log
|
2
2
|
|
3
|
+
## [4.55.1](https://github.com/plivo/plivo-ruby/tree/v4.55.1) (2024-01-08)
|
4
|
+
**Feature - Added New Param 'type' for Speak Api**
|
5
|
+
- Added new param "type" for speak api
|
6
|
+
|
3
7
|
## [4.55.0](https://github.com/plivo/plivo-ruby/tree/v4.55.0) (2023-11-20)
|
4
8
|
**Feature - Added New Param 'registration_status' for Campaign List**
|
5
9
|
- Added new query param "registration_status" for campaign list
|
data/README.md
CHANGED
@@ -170,6 +170,12 @@ module Plivo
|
|
170
170
|
params[:legs] = options[:legs]
|
171
171
|
end
|
172
172
|
|
173
|
+
if options.key?(:type) &&
|
174
|
+
valid_param?(:type, options[:type],
|
175
|
+
[String, Symbol], true, %w[text ssml])
|
176
|
+
params[:type] = options[:type]
|
177
|
+
end
|
178
|
+
|
173
179
|
%i[loop mix].each do |param|
|
174
180
|
if options.key?(param) &&
|
175
181
|
valid_param?(param, options[param], [TrueClass, FalseClass], true)
|
@@ -620,6 +626,7 @@ module Plivo
|
|
620
626
|
# @option options [String] :legs - The leg on which the music will be played, can be aleg (i.e., A-leg is the first leg of the call or current call), bleg (i.e., B-leg is the second leg of the call),or both (i.e., both legs of the call).
|
621
627
|
# @option options [Boolean] :loop - If set to true, the audio file will play indefinitely.
|
622
628
|
# @option options [Boolean] :mix - If set to true, sounds are mixed with current audio flow.
|
629
|
+
# @option options [String] :type - Indicates the type of the text that needs to be spoken. The payload can either be plain text or SSML.
|
623
630
|
def speak(call_uuid, text, options = nil)
|
624
631
|
valid_param?(:call_uuid, call_uuid, [String, Symbol], true)
|
625
632
|
Call.new(@_client, resource_id: call_uuid).speak(text, options)
|
data/lib/plivo/version.rb
CHANGED
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.55.
|
4
|
+
version: 4.55.1
|
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:
|
11
|
+
date: 2024-01-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|