pingram 1.0.20 → 1.0.22
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 -11
- 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: cb108d4750254f5d0266c6996bf93ee20c96ba69a48f9c87b0b8cac105b7d34e
|
|
4
|
+
data.tar.gz: 76b17f9e1d2457ef8d1fb21efedcb2be2024b80ee0c1e3de1079e72b115f444a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 68f9b19c250731d485cd4e0f91d7f50cb7be0c1d2d5c36ec93bdc359ae08f7f346c8060e6c49ae00bb9b980e59f09dd238e2abbab0bae530f36f3255d50bce5f
|
|
7
|
+
data.tar.gz: 325135064572154dc797046c2b1f700a6763faf545b226c2932487ef67190fcf73edfaaee841975936921236eb4b761c21c114cebe86debeec8abeadd02a3a22
|
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.22"
|
|
36
36
|
@default_headers = {
|
|
37
37
|
'Content-Type' => 'application/json',
|
|
38
38
|
'User-Agent' => @user_agent
|
|
@@ -33,9 +33,6 @@ module Pingram
|
|
|
33
33
|
# Key-value pairs for template merge tags. Replaces placeholders like {{firstName}} in templates.
|
|
34
34
|
attr_accessor :parameters
|
|
35
35
|
|
|
36
|
-
# Optional sub-notification identifier for grouping or tracking.
|
|
37
|
-
attr_accessor :secondary_id
|
|
38
|
-
|
|
39
36
|
# Specific template ID to use. If omitted, uses the default template for each channel.
|
|
40
37
|
attr_accessor :template_id
|
|
41
38
|
|
|
@@ -70,7 +67,6 @@ module Pingram
|
|
|
70
67
|
:'to' => :'to',
|
|
71
68
|
:'force_channels' => :'forceChannels',
|
|
72
69
|
:'parameters' => :'parameters',
|
|
73
|
-
:'secondary_id' => :'secondaryId',
|
|
74
70
|
:'template_id' => :'templateId',
|
|
75
71
|
:'sub_notification_id' => :'subNotificationId',
|
|
76
72
|
:'options' => :'options',
|
|
@@ -105,7 +101,6 @@ module Pingram
|
|
|
105
101
|
:'to' => :'SenderPostBodyTo',
|
|
106
102
|
:'force_channels' => :'Array<ChannelsEnum>',
|
|
107
103
|
:'parameters' => :'Hash<String, Object>',
|
|
108
|
-
:'secondary_id' => :'String',
|
|
109
104
|
:'template_id' => :'String',
|
|
110
105
|
:'sub_notification_id' => :'String',
|
|
111
106
|
:'options' => :'SenderPostBodyOptions',
|
|
@@ -174,10 +169,6 @@ module Pingram
|
|
|
174
169
|
end
|
|
175
170
|
end
|
|
176
171
|
|
|
177
|
-
if attributes.key?(:'secondary_id')
|
|
178
|
-
self.secondary_id = attributes[:'secondary_id']
|
|
179
|
-
end
|
|
180
|
-
|
|
181
172
|
if attributes.key?(:'template_id')
|
|
182
173
|
self.template_id = attributes[:'template_id']
|
|
183
174
|
end
|
|
@@ -250,7 +241,6 @@ module Pingram
|
|
|
250
241
|
to == o.to &&
|
|
251
242
|
force_channels == o.force_channels &&
|
|
252
243
|
parameters == o.parameters &&
|
|
253
|
-
secondary_id == o.secondary_id &&
|
|
254
244
|
template_id == o.template_id &&
|
|
255
245
|
sub_notification_id == o.sub_notification_id &&
|
|
256
246
|
options == o.options &&
|
|
@@ -273,7 +263,7 @@ module Pingram
|
|
|
273
263
|
# Calculates hash code according to all attributes.
|
|
274
264
|
# @return [Integer] Hash code
|
|
275
265
|
def hash
|
|
276
|
-
[notification_id, user, merge_tags, type, to, force_channels, parameters,
|
|
266
|
+
[notification_id, user, merge_tags, type, to, force_channels, parameters, template_id, sub_notification_id, options, schedule, email, inapp, sms, call, web_push, mobile_push, slack].hash
|
|
277
267
|
end
|
|
278
268
|
|
|
279
269
|
# 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.22
|
|
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-14 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: typhoeus
|