pingram 1.0.18 → 1.0.19
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 +4 -4
- data/Gemfile.lock +1 -1
- data/lib/pingram/api_client.rb +1 -1
- data/lib/pingram/models/sender_post_body.rb +1 -13
- data/lib/pingram/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 1fd1d511a80777270561fbe20290dc7646299c18061af067cab8a804c4d3d2b4
|
|
4
|
+
data.tar.gz: c695bd1976f7dbae214c137f02a8ff72ca6f94bc36a7fa8e28b835c38b3b8f82
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 8f0793f193f52493e0b93996967e4775b36c87ca901397ec17353e241ae18204e2a851691a7e6525baba8657a57851ac8860bf12e8b272fe85831bfa8904c299
|
|
7
|
+
data.tar.gz: 4a89aff1fcc5b1fc9d713e7e2bf6748d49fc600e17037fd84c770e14ab27d3e2d566811c264b66ba603391c6e2af0ab401292ed2496b7d51bd399333452eb384
|
data/Gemfile.lock
CHANGED
data/lib/pingram/api_client.rb
CHANGED
|
@@ -32,7 +32,7 @@ module Pingram
|
|
|
32
32
|
# @option config [Configuration] Configuration for initializing the object, default to Configuration.default
|
|
33
33
|
def initialize(config = Configuration.default)
|
|
34
34
|
@config = config
|
|
35
|
-
@user_agent = "pingram-ruby/1.0.
|
|
35
|
+
@user_agent = "pingram-ruby/1.0.19"
|
|
36
36
|
@default_headers = {
|
|
37
37
|
'Content-Type' => 'application/json',
|
|
38
38
|
'User-Agent' => @user_agent
|
|
@@ -22,9 +22,6 @@ module Pingram
|
|
|
22
22
|
|
|
23
23
|
attr_accessor :merge_tags
|
|
24
24
|
|
|
25
|
-
# @deprecated Use parameters instead
|
|
26
|
-
attr_accessor :replace
|
|
27
|
-
|
|
28
25
|
# ID of the notification type (e.g. \"welcome_email\"). Creates a new notification if it does not exist.
|
|
29
26
|
attr_accessor :type
|
|
30
27
|
|
|
@@ -69,7 +66,6 @@ module Pingram
|
|
|
69
66
|
:'notification_id' => :'notificationId',
|
|
70
67
|
:'user' => :'user',
|
|
71
68
|
:'merge_tags' => :'mergeTags',
|
|
72
|
-
:'replace' => :'replace',
|
|
73
69
|
:'type' => :'type',
|
|
74
70
|
:'to' => :'to',
|
|
75
71
|
:'force_channels' => :'forceChannels',
|
|
@@ -105,7 +101,6 @@ module Pingram
|
|
|
105
101
|
:'notification_id' => :'String',
|
|
106
102
|
:'user' => :'SenderPostBodyUser',
|
|
107
103
|
:'merge_tags' => :'Object',
|
|
108
|
-
:'replace' => :'Hash<String, String>',
|
|
109
104
|
:'type' => :'String',
|
|
110
105
|
:'to' => :'SenderPostBodyTo',
|
|
111
106
|
:'force_channels' => :'Array<ChannelsEnum>',
|
|
@@ -159,12 +154,6 @@ module Pingram
|
|
|
159
154
|
self.merge_tags = attributes[:'merge_tags']
|
|
160
155
|
end
|
|
161
156
|
|
|
162
|
-
if attributes.key?(:'replace')
|
|
163
|
-
if (value = attributes[:'replace']).is_a?(Hash)
|
|
164
|
-
self.replace = value
|
|
165
|
-
end
|
|
166
|
-
end
|
|
167
|
-
|
|
168
157
|
if attributes.key?(:'type')
|
|
169
158
|
self.type = attributes[:'type']
|
|
170
159
|
end
|
|
@@ -257,7 +246,6 @@ module Pingram
|
|
|
257
246
|
notification_id == o.notification_id &&
|
|
258
247
|
user == o.user &&
|
|
259
248
|
merge_tags == o.merge_tags &&
|
|
260
|
-
replace == o.replace &&
|
|
261
249
|
type == o.type &&
|
|
262
250
|
to == o.to &&
|
|
263
251
|
force_channels == o.force_channels &&
|
|
@@ -285,7 +273,7 @@ module Pingram
|
|
|
285
273
|
# Calculates hash code according to all attributes.
|
|
286
274
|
# @return [Integer] Hash code
|
|
287
275
|
def hash
|
|
288
|
-
[notification_id, user, merge_tags,
|
|
276
|
+
[notification_id, user, merge_tags, type, to, force_channels, parameters, secondary_id, template_id, sub_notification_id, options, schedule, email, inapp, sms, call, web_push, mobile_push, slack].hash
|
|
289
277
|
end
|
|
290
278
|
|
|
291
279
|
# Builds the object from hash
|
data/lib/pingram/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: pingram
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.0.
|
|
4
|
+
version: 1.0.19
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Pingram
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-08-
|
|
11
|
+
date: 2026-08-04 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: typhoeus
|