plivo 4.59.1 → 4.60.0

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: 830b58426eca123ba6acfbf633c5dd9805eff59b
4
- data.tar.gz: 4734637d968ee1291671b965cb9b4ddc52c40977
3
+ metadata.gz: 42e9961c1458627e0fd5d95540f9032d9654d88d
4
+ data.tar.gz: b042ca75f5dd628eddad9495d3df159a05c08cc9
5
5
  SHA512:
6
- metadata.gz: eab58b86507e16dffe49cb6791b62705764f7c2b48866a8723dc47f213bc202e2bd7d72eaab97c4e163ca499a5b267bc70fc9fc3f391aab521c75b5b47f6b264
7
- data.tar.gz: ff2fe6eece9ac575bb87e00bf90998d5128e5e5ea1806cbe082d5c46e59754046554527b6cbc27d50f90a08bae57947dc89cb44a642a428fdadeaead201de390
6
+ metadata.gz: 036a9fe1398b92ba5feda2b7d0d5c154a3b38eeaa6903cb1b64bbe91bc42e09da5efc1198a70c2bf5ac2945b0b2ea00da3c71727b5b0de7553bec4d4e635d693
7
+ data.tar.gz: b286290f67510a1262d58ee71c8b779b6dd53530dc60a97cbd6cf2e5c9c23741bbdd4333e4134abfb2f42389288d0c6d2408b868076332f8d5ed008e67b8bbbc
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Change Log
2
2
 
3
+ ## [4.60.0](https://github.com/plivo/plivo-ruby/tree/v4.60.0) (2024-07-11)
4
+ **Feature - Adding support for Locale param in Create, Get and List Session**
5
+ - Added new request param `locale` in create Session API
6
+ - Added support for `locale` param in get and list Session response
7
+
3
8
  ## [4.59.1](https://github.com/plivo/plivo-ruby/tree/v4.59.1) (2023-05-31)
4
9
  **Feature - Adding filtering support for List Application API**
5
10
  - Added new filter param `app_name` in list application api
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.59.1'
12
+ gem 'plivo', '>= 4.60.0'
13
13
  ```
14
14
 
15
15
  And then execute:
@@ -15,6 +15,7 @@ module Plivo
15
15
  alias: @alias,
16
16
  recipient: @recipient,
17
17
  channel: @channel,
18
+ locale: @locale,
18
19
  status: @status,
19
20
  count: @count,
20
21
  requestor_ip: @requestor_ip,
@@ -41,19 +42,21 @@ module Plivo
41
42
  perform_get(session_uuid)
42
43
  end
43
44
 
44
- def create(app_uuid = nil, recipient = nil,channel = nil,url = nil, method = nil)
45
+ def create(app_uuid = nil, recipient = nil,channel = nil, url = nil, method = nil, locale=nil)
45
46
  valid_param?(:app_uuid, app_uuid, [String, Symbol], false)
46
47
  valid_param?(:recipient, recipient, [Integer, String, Symbol], true)
47
48
  valid_param?(:channel, channel, [String, Symbol], false)
48
49
  valid_param?(:url, url, [String], false)
49
50
  valid_param?(:method, method, String, false, %w[POST GET])
51
+ valid_param?(:locale, locale, [String, Symbol], false)
50
52
 
51
53
  params = {
52
54
  app_uuid: app_uuid,
53
55
  recipient: recipient,
54
56
  channel: channel,
55
57
  url: url,
56
- method: method
58
+ method: method,
59
+ locale: locale
57
60
  }
58
61
  perform_create(params)
59
62
  end
data/lib/plivo/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Plivo
2
- VERSION = "4.59.1".freeze
2
+ VERSION = "4.60.0".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.59.1
4
+ version: 4.60.0
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-06-03 00:00:00.000000000 Z
11
+ date: 2024-07-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday