plivo 4.37.1 → 4.38.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -0
- data/README.md +1 -1
- data/lib/plivo/resources/messages.rb +10 -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: b9cc9b79affac615fa30dd25bbebfc105437f2a8
|
4
|
+
data.tar.gz: 9bf7124784874f27665ecfbf36460bdb0ccbe5f0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: abd1a7738261e1ff43f9ba8b4c41af4c0d4305fdd70f5c56b06c4a2a65fa5200e07f43a4af2c40cf09911a842172864eefe334cd9fab40dea1251856587c7375
|
7
|
+
data.tar.gz: d05b08bbcc5fcdcd019db742e150b5579e2072a16239ce27dd3ffed9678469c86f5dc7093bab1890bcb2c9c41208afc5095119f3b799f57eac7a8414d0f7bbf0
|
data/CHANGELOG.md
CHANGED
@@ -1,4 +1,12 @@
|
|
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
|
+
|
6
|
+
## [4.38.0](https://github.com/plivo/plivo-ruby/tree/v4.38.0) (2023-03-03)
|
7
|
+
**Adding new attribute - 'is_domestic' in Get Message and List Message APIs**
|
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)
|
9
|
+
|
2
10
|
## [4.37.1](https://github.com/plivo/plivo-ruby/tree/v4.37.1) (2023-02-23)
|
3
11
|
**Bug fix on Messaging object **
|
4
12
|
-
|
data/README.md
CHANGED
@@ -34,7 +34,8 @@ module Plivo
|
|
34
34
|
tendlc_campaign_id: @tendlc_campaign_id,
|
35
35
|
destination_country_iso2: @destination_country_iso2,
|
36
36
|
tendlc_registration_status: @tendlc_registration_status,
|
37
|
-
requester_ip: @requester_ip
|
37
|
+
requester_ip: @requester_ip,
|
38
|
+
is_domestic: @is_domestic
|
38
39
|
}.to_s
|
39
40
|
end
|
40
41
|
end
|
@@ -104,10 +105,17 @@ module Plivo
|
|
104
105
|
|
105
106
|
params = {
|
106
107
|
src: value[:src],
|
107
|
-
dst: value[:dst],
|
108
108
|
text: value[:text],
|
109
109
|
powerpack_uuid: value[:powerpack_uuid]
|
110
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
|
111
119
|
|
112
120
|
#Handling optional params in One HASH
|
113
121
|
if value.key?(:type) && valid_param?(:type, value[:type],String, true, %w[sms mms])
|
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.
|
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-
|
11
|
+
date: 2023-03-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|