plivo 4.61.1 → 4.61.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 +5 -0
- data/Makefile +5 -1
- data/README.md +1 -1
- data/lib/plivo/resources/verify_session.rb +4 -2
- 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: 2d294e80630afae4af42f280ea00df4e0058b5fa
|
4
|
+
data.tar.gz: d612e7b7dd77e49abff26918acdadc2d6da7e59b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 37243d6d07e62e1266c85acc67c92c6a9c945951bf39d8e75e9b7b2eb5d2f6b18eae9520babd3daf34601656c26ea998b4b76a71c5b9e2c37ebedbb77cf0e3f7
|
7
|
+
data.tar.gz: '08c1e507d18f6025b9137035fa21171d73ba11d4a4dff0b5f2074475420a300eedfc97f450e87c12431f00cac4bc066e5ba77dfd75181392af09d35cd5db5e29'
|
data/CHANGELOG.md
CHANGED
@@ -1,4 +1,9 @@
|
|
1
1
|
# Change Log
|
2
|
+
## [4.61.2](https://github.com/plivo/plivo-ruby/tree/v4.61.2)(2024-10-23)
|
3
|
+
**Feature - FraudCheck param in Create, Get and List Session**
|
4
|
+
- Support for the `fraud_check` parameter in sms verify session request
|
5
|
+
- Added support for `fraud_check` paramter in GET and LIST veriyf session
|
6
|
+
|
2
7
|
## [4.61.1](https://github.com/plivo/plivo-ruby/tree/v4.61.1) (2024-10-10)
|
3
8
|
**Feature - Dtmf param in Create, Get and List Session**
|
4
9
|
- Support for the `dtmf` parameter in voice verify session request
|
data/Makefile
CHANGED
@@ -5,7 +5,11 @@ build:
|
|
5
5
|
|
6
6
|
start:
|
7
7
|
docker-compose up --build --remove-orphans --detach
|
8
|
-
|
8
|
+
# Wait for the container to be running before attaching
|
9
|
+
@while [ -z "$$(docker-compose ps -q rubySDK)" ]; do \
|
10
|
+
sleep 1; \
|
11
|
+
done
|
12
|
+
docker attach $$(docker-compose ps -q rubySDK)
|
9
13
|
|
10
14
|
test:
|
11
15
|
@[ "${CONTAINER}" ] && \
|
data/README.md
CHANGED
@@ -42,7 +42,7 @@ module Plivo
|
|
42
42
|
perform_get(session_uuid)
|
43
43
|
end
|
44
44
|
|
45
|
-
def create(app_uuid = nil, recipient = nil,channel = nil, url = nil, method = nil, locale=nil, brand_name=nil, app_hash=nil, code_length=nil, dtmf=nil)
|
45
|
+
def create(app_uuid = nil, recipient = nil,channel = nil, url = nil, method = nil, locale=nil, brand_name=nil, app_hash=nil, code_length=nil, dtmf=nil, fraud_check=nil)
|
46
46
|
valid_param?(:app_uuid, app_uuid, [String, Symbol], false)
|
47
47
|
valid_param?(:recipient, recipient, [Integer, String, Symbol], true)
|
48
48
|
valid_param?(:channel, channel, [String, Symbol], false)
|
@@ -53,6 +53,7 @@ module Plivo
|
|
53
53
|
valid_param?(:app_hash, app_hash, [String, Symbol], false)
|
54
54
|
valid_param?(:code_length, code_length,[Integer,Symbol], false)
|
55
55
|
valid_param?(:dtmf, dtmf,[Integer,Symbol], false)
|
56
|
+
valid_param?(:fraud_check, fraud_check, [String, Symbol], false)
|
56
57
|
|
57
58
|
params = {
|
58
59
|
app_uuid: app_uuid,
|
@@ -64,7 +65,8 @@ module Plivo
|
|
64
65
|
brand_name: brand_name,
|
65
66
|
app_hash: app_hash,
|
66
67
|
code_length: code_length,
|
67
|
-
dtmf:dtmf
|
68
|
+
dtmf:dtmf,
|
69
|
+
fraud_check:fraud_check
|
68
70
|
}
|
69
71
|
perform_create(params)
|
70
72
|
end
|
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.61.
|
4
|
+
version: 4.61.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: 2024-10-
|
11
|
+
date: 2024-10-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|