plivo 4.38.0 → 4.38.1

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: 7cea73f6d29068d7cbcf857f4f654680ec083eba
4
- data.tar.gz: e112359a5779c97c8c1928898c2c5740bd8e9dd9
3
+ metadata.gz: b9cc9b79affac615fa30dd25bbebfc105437f2a8
4
+ data.tar.gz: 9bf7124784874f27665ecfbf36460bdb0ccbe5f0
5
5
  SHA512:
6
- metadata.gz: 26bf81a3368e7500fa1021fa590386b8ce4615baccbf48e1f7836a35588c0691246504f3719918c1e2a53f44338de39b971f3f786cbb082e7d9d834a2e74424e
7
- data.tar.gz: 3d9eb2920f5c272f2da240dcc21556017f3ab62a864f73af93c5ed5137ca96c3ac6db6d9add1799ab76170eb43d685b51ac9e2219cb90db27adb740ab390322f
6
+ metadata.gz: abd1a7738261e1ff43f9ba8b4c41af4c0d4305fdd70f5c56b06c4a2a65fa5200e07f43a4af2c40cf09911a842172864eefe334cd9fab40dea1251856587c7375
7
+ data.tar.gz: d05b08bbcc5fcdcd019db742e150b5579e2072a16239ce27dd3ffed9678469c86f5dc7093bab1890bcb2c9c41208afc5095119f3b799f57eac7a8414d0f7bbf0
data/CHANGELOG.md CHANGED
@@ -1,4 +1,8 @@
1
1
  # Change Log
2
+ ## [4.38.1](https://github.com/plivo/plivo-ruby/tree/v4.38.1) (2023-03-06)
3
+ **Bug fix on create message**
4
+ - Bulk send message fix
5
+
2
6
  ## [4.38.0](https://github.com/plivo/plivo-ruby/tree/v4.38.0) (2023-03-03)
3
7
  **Adding new attribute - 'is_domestic' in Get Message and List Message APIs**
4
8
  - Add `is_domestic` to the response for the [list all messages API](https://www.plivo.com/docs/sms/api/message/list-all-messages/) and the [get message details API](https://www.plivo.com/docs/sms/api/message#retrieve-a-message)
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.38.0'
12
+ gem 'plivo', '>= 4.38.1'
13
13
  ```
14
14
 
15
15
  And then execute:
@@ -105,10 +105,17 @@ module Plivo
105
105
 
106
106
  params = {
107
107
  src: value[:src],
108
- dst: value[:dst],
109
108
  text: value[:text],
110
109
  powerpack_uuid: value[:powerpack_uuid]
111
110
  }
111
+ if (value[:dst].is_a?(Array))
112
+ value[:dst].each do |dst_num|
113
+ valid_param?(:dst_num, dst_num, [Integer, String, Symbol], true)
114
+ params[:dst] = value[:dst].join('<')
115
+ end
116
+ else
117
+ params[:dst] = value[:dst]
118
+ end
112
119
 
113
120
  #Handling optional params in One HASH
114
121
  if value.key?(:type) && valid_param?(:type, value[:type],String, true, %w[sms mms])
data/lib/plivo/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Plivo
2
- VERSION = "4.38.0".freeze
2
+ VERSION = "4.38.1".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.38.0
4
+ version: 4.38.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: 2023-03-03 00:00:00.000000000 Z
11
+ date: 2023-03-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday