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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 0200b603736dd9a97b9ae182f4cbb91a707ebb7d
4
- data.tar.gz: 20557f63e0102cced16783b2922729d6c30b43fb
3
+ metadata.gz: 2d294e80630afae4af42f280ea00df4e0058b5fa
4
+ data.tar.gz: d612e7b7dd77e49abff26918acdadc2d6da7e59b
5
5
  SHA512:
6
- metadata.gz: f4b500cd9846eb4cf8f5c14f3f375517dd7fd3104d0cdbbb44896402dc4af5875456a22428910a57d8d604c0619cc13feb2b2619b638e836d2594637d5f31e0d
7
- data.tar.gz: 3fcb82f91c6eed1d784c02cf7c9c207f7e83a3a1b8ee25301e155d309ee30b6d28483102b60573a092328aed604f16de057c58a32dcd7939e00d729dc8609d94
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
- docker attach $(shell docker-compose ps -q rubySDK)
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
@@ -9,7 +9,7 @@ The Plivo Ruby SDK makes it simpler to integrate communications into your Ruby a
9
9
  Add this line to your application's Gemfile:
10
10
 
11
11
  ```ruby
12
- gem 'plivo', '>= 4.61.1'
12
+ gem 'plivo', '>= 4.61.2'
13
13
  ```
14
14
 
15
15
  And then execute:
@@ -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
@@ -1,3 +1,3 @@
1
1
  module Plivo
2
- VERSION = "4.61.1".freeze
2
+ VERSION = "4.61.2".freeze
3
3
  end
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.1
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-10 00:00:00.000000000 Z
11
+ date: 2024-10-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday