plivo 4.15.1 → 4.15.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +3 -0
- data/README.md +1 -1
- data/lib/plivo/resources/calls.rb +2 -5
- 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: 9623fb2c4baf69935048acfa538cb061326de346
|
4
|
+
data.tar.gz: 30629da34bc63fed7092e9c264c34cd41a496870
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 69b585a499ec727dbc3f615d654b429f39a3f699028994de89cb79298b333e0a2d54501697644f579f4266fadc7bc0bb4fd4a43d50f021722e2defda30d8f979
|
7
|
+
data.tar.gz: 843e1f620186e4c8e6153f8a2cac6793c666e49479382622e9d24fa2452801fe99c7240480b2b04495e45d939d4731f11910607617e0b1eee815f73ebf5fd43f
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,8 @@
|
|
1
1
|
# Change Log
|
2
2
|
|
3
|
+
## [4.15.2](https://github.com/plivo/plivo-ruby/releases/tag/v4.15.2) (2021-01-27)
|
4
|
+
- Fix Call API resource - Set answer_method as Optional param.
|
5
|
+
|
3
6
|
## [4.15.1](https://github.com/plivo/plivo-ruby/releases/tag/v4.15.1) (2021-01-06)
|
4
7
|
- Fix Search Phone Numbers API using City Attribute.
|
5
8
|
|
data/README.md
CHANGED
@@ -252,7 +252,6 @@ module Plivo
|
|
252
252
|
# @param [String] from
|
253
253
|
# @param [Array] to
|
254
254
|
# @param [String] answer_url
|
255
|
-
# @param [String] answer_method
|
256
255
|
# @param [Hash] options
|
257
256
|
# @option options [String] :answer_method - The method used to call the answer_url. Defaults to POST.
|
258
257
|
# @option options [String] :ring_url - The URL that is notified by Plivo when the call is ringing. Defaults not set.
|
@@ -275,21 +274,19 @@ module Plivo
|
|
275
274
|
# @option options [String] :parent_call_uuid - The call_uuid of the first leg in an ongoing conference call. It is recommended to use this parameter in scenarios where a member who is already present in the conference intends to add new members by initiating outbound API calls. This minimizes the delay in adding a new memeber to the conference.
|
276
275
|
# @option options [Boolean] :error_parent_not_found - if set to true and the parent_call_uuid cannot be found, the API request would return an error. If set to false, the outbound call API request will be executed even if the parent_call_uuid is not found. Defaults to false.
|
277
276
|
# @return [Call] Call
|
278
|
-
def create(from, to, answer_url,
|
277
|
+
def create(from, to, answer_url, options = nil)
|
279
278
|
valid_param?(:from, from, [String, Symbol, Integer], true)
|
280
279
|
valid_param?(:to, to, Array, true)
|
281
280
|
to.each do |to_num|
|
282
281
|
valid_param?(:to_num, to_num, [Integer, String, Symbol], true)
|
283
282
|
end
|
284
283
|
valid_param?(:answer_url, answer_url, [String, Symbol], true)
|
285
|
-
|
286
|
-
true, %w[GET POST])
|
284
|
+
|
287
285
|
|
288
286
|
params = {
|
289
287
|
from: from,
|
290
288
|
to: to.join('<'),
|
291
289
|
answer_url: answer_url,
|
292
|
-
answer_method: answer_method
|
293
290
|
}
|
294
291
|
|
295
292
|
return perform_create(params, false) if options.nil?
|
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.15.
|
4
|
+
version: 4.15.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: 2021-01-
|
11
|
+
date: 2021-01-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|