ElasticEmail 4.0.27 → 4.0.28

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.
@@ -0,0 +1,306 @@
1
+ =begin
2
+ #Elastic Email REST API
3
+
4
+ #This API is based on the REST API architecture, allowing the user to easily manage their data with this resource-based approach. Every API call is established on which specific request type (GET, POST, PUT, DELETE) will be used. The API has a limit of 20 concurrent connections and a hard timeout of 600 seconds per request. To start using this API, you will need your Access Token (available <a target='_blank' href='https://app.elasticemail.com/marketing/settings/new/manage-api'>here</a>). Remember to keep it safe. Required access levels are listed in the given request’s description. Downloadable library clients can be found in our Github repository <a target='_blank' href='https://github.com/ElasticEmail?tab=repositories&q=%22rest+api%22+in%3Areadme'>here</a>
5
+
6
+ The version of the OpenAPI document: 4.0.0
7
+ Contact: support@elasticemail.com
8
+ Generated by: https://openapi-generator.tech
9
+ Generator version: 7.11.0
10
+
11
+ =end
12
+
13
+ require 'date'
14
+ require 'time'
15
+
16
+ module ElasticEmail
17
+ # Update webhook payload
18
+ class WebhookUpdatePayload
19
+ # Filename
20
+ attr_accessor :name
21
+
22
+ # URL of notification.
23
+ attr_accessor :url
24
+
25
+ attr_accessor :notify_once_per_email
26
+
27
+ attr_accessor :notification_for_sent
28
+
29
+ attr_accessor :notification_for_opened
30
+
31
+ attr_accessor :notification_for_clicked
32
+
33
+ attr_accessor :notification_for_unsubscribed
34
+
35
+ attr_accessor :notification_for_abuse_report
36
+
37
+ attr_accessor :notification_for_error
38
+
39
+ attr_accessor :is_enabled
40
+
41
+ # Attribute mapping from ruby-style variable name to JSON key.
42
+ def self.attribute_map
43
+ {
44
+ :'name' => :'Name',
45
+ :'url' => :'URL',
46
+ :'notify_once_per_email' => :'NotifyOncePerEmail',
47
+ :'notification_for_sent' => :'NotificationForSent',
48
+ :'notification_for_opened' => :'NotificationForOpened',
49
+ :'notification_for_clicked' => :'NotificationForClicked',
50
+ :'notification_for_unsubscribed' => :'NotificationForUnsubscribed',
51
+ :'notification_for_abuse_report' => :'NotificationForAbuseReport',
52
+ :'notification_for_error' => :'NotificationForError',
53
+ :'is_enabled' => :'IsEnabled'
54
+ }
55
+ end
56
+
57
+ # Returns all the JSON keys this model knows about
58
+ def self.acceptable_attributes
59
+ attribute_map.values
60
+ end
61
+
62
+ # Attribute type mapping.
63
+ def self.openapi_types
64
+ {
65
+ :'name' => :'String',
66
+ :'url' => :'String',
67
+ :'notify_once_per_email' => :'Boolean',
68
+ :'notification_for_sent' => :'Boolean',
69
+ :'notification_for_opened' => :'Boolean',
70
+ :'notification_for_clicked' => :'Boolean',
71
+ :'notification_for_unsubscribed' => :'Boolean',
72
+ :'notification_for_abuse_report' => :'Boolean',
73
+ :'notification_for_error' => :'Boolean',
74
+ :'is_enabled' => :'Boolean'
75
+ }
76
+ end
77
+
78
+ # List of attributes with nullable: true
79
+ def self.openapi_nullable
80
+ Set.new([
81
+ :'notify_once_per_email',
82
+ :'notification_for_sent',
83
+ :'notification_for_opened',
84
+ :'notification_for_clicked',
85
+ :'notification_for_unsubscribed',
86
+ :'notification_for_abuse_report',
87
+ :'notification_for_error',
88
+ :'is_enabled'
89
+ ])
90
+ end
91
+
92
+ # Initializes the object
93
+ # @param [Hash] attributes Model attributes in the form of hash
94
+ def initialize(attributes = {})
95
+ if (!attributes.is_a?(Hash))
96
+ fail ArgumentError, "The input argument (attributes) must be a hash in `ElasticEmail::WebhookUpdatePayload` initialize method"
97
+ end
98
+
99
+ # check to see if the attribute exists and convert string to symbol for hash key
100
+ attributes = attributes.each_with_object({}) { |(k, v), h|
101
+ if (!self.class.attribute_map.key?(k.to_sym))
102
+ fail ArgumentError, "`#{k}` is not a valid attribute in `ElasticEmail::WebhookUpdatePayload`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
103
+ end
104
+ h[k.to_sym] = v
105
+ }
106
+
107
+ if attributes.key?(:'name')
108
+ self.name = attributes[:'name']
109
+ end
110
+
111
+ if attributes.key?(:'url')
112
+ self.url = attributes[:'url']
113
+ end
114
+
115
+ if attributes.key?(:'notify_once_per_email')
116
+ self.notify_once_per_email = attributes[:'notify_once_per_email']
117
+ end
118
+
119
+ if attributes.key?(:'notification_for_sent')
120
+ self.notification_for_sent = attributes[:'notification_for_sent']
121
+ end
122
+
123
+ if attributes.key?(:'notification_for_opened')
124
+ self.notification_for_opened = attributes[:'notification_for_opened']
125
+ end
126
+
127
+ if attributes.key?(:'notification_for_clicked')
128
+ self.notification_for_clicked = attributes[:'notification_for_clicked']
129
+ end
130
+
131
+ if attributes.key?(:'notification_for_unsubscribed')
132
+ self.notification_for_unsubscribed = attributes[:'notification_for_unsubscribed']
133
+ end
134
+
135
+ if attributes.key?(:'notification_for_abuse_report')
136
+ self.notification_for_abuse_report = attributes[:'notification_for_abuse_report']
137
+ end
138
+
139
+ if attributes.key?(:'notification_for_error')
140
+ self.notification_for_error = attributes[:'notification_for_error']
141
+ end
142
+
143
+ if attributes.key?(:'is_enabled')
144
+ self.is_enabled = attributes[:'is_enabled']
145
+ end
146
+ end
147
+
148
+ # Show invalid properties with the reasons. Usually used together with valid?
149
+ # @return Array for valid properties with the reasons
150
+ def list_invalid_properties
151
+ warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
152
+ invalid_properties = Array.new
153
+ invalid_properties
154
+ end
155
+
156
+ # Check to see if the all the properties in the model are valid
157
+ # @return true if the model is valid
158
+ def valid?
159
+ warn '[DEPRECATED] the `valid?` method is obsolete'
160
+ true
161
+ end
162
+
163
+ # Checks equality by comparing each attribute.
164
+ # @param [Object] Object to be compared
165
+ def ==(o)
166
+ return true if self.equal?(o)
167
+ self.class == o.class &&
168
+ name == o.name &&
169
+ url == o.url &&
170
+ notify_once_per_email == o.notify_once_per_email &&
171
+ notification_for_sent == o.notification_for_sent &&
172
+ notification_for_opened == o.notification_for_opened &&
173
+ notification_for_clicked == o.notification_for_clicked &&
174
+ notification_for_unsubscribed == o.notification_for_unsubscribed &&
175
+ notification_for_abuse_report == o.notification_for_abuse_report &&
176
+ notification_for_error == o.notification_for_error &&
177
+ is_enabled == o.is_enabled
178
+ end
179
+
180
+ # @see the `==` method
181
+ # @param [Object] Object to be compared
182
+ def eql?(o)
183
+ self == o
184
+ end
185
+
186
+ # Calculates hash code according to all attributes.
187
+ # @return [Integer] Hash code
188
+ def hash
189
+ [name, url, notify_once_per_email, notification_for_sent, notification_for_opened, notification_for_clicked, notification_for_unsubscribed, notification_for_abuse_report, notification_for_error, is_enabled].hash
190
+ end
191
+
192
+ # Builds the object from hash
193
+ # @param [Hash] attributes Model attributes in the form of hash
194
+ # @return [Object] Returns the model itself
195
+ def self.build_from_hash(attributes)
196
+ return nil unless attributes.is_a?(Hash)
197
+ attributes = attributes.transform_keys(&:to_sym)
198
+ transformed_hash = {}
199
+ openapi_types.each_pair do |key, type|
200
+ if attributes.key?(attribute_map[key]) && attributes[attribute_map[key]].nil?
201
+ transformed_hash["#{key}"] = nil
202
+ elsif type =~ /\AArray<(.*)>/i
203
+ # check to ensure the input is an array given that the attribute
204
+ # is documented as an array but the input is not
205
+ if attributes[attribute_map[key]].is_a?(Array)
206
+ transformed_hash["#{key}"] = attributes[attribute_map[key]].map { |v| _deserialize($1, v) }
207
+ end
208
+ elsif !attributes[attribute_map[key]].nil?
209
+ transformed_hash["#{key}"] = _deserialize(type, attributes[attribute_map[key]])
210
+ end
211
+ end
212
+ new(transformed_hash)
213
+ end
214
+
215
+ # Deserializes the data based on type
216
+ # @param string type Data type
217
+ # @param string value Value to be deserialized
218
+ # @return [Object] Deserialized data
219
+ def self._deserialize(type, value)
220
+ case type.to_sym
221
+ when :Time
222
+ Time.parse(value)
223
+ when :Date
224
+ Date.parse(value)
225
+ when :String
226
+ value.to_s
227
+ when :Integer
228
+ value.to_i
229
+ when :Float
230
+ value.to_f
231
+ when :Boolean
232
+ if value.to_s =~ /\A(true|t|yes|y|1)\z/i
233
+ true
234
+ else
235
+ false
236
+ end
237
+ when :Object
238
+ # generic object (usually a Hash), return directly
239
+ value
240
+ when /\AArray<(?<inner_type>.+)>\z/
241
+ inner_type = Regexp.last_match[:inner_type]
242
+ value.map { |v| _deserialize(inner_type, v) }
243
+ when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
244
+ k_type = Regexp.last_match[:k_type]
245
+ v_type = Regexp.last_match[:v_type]
246
+ {}.tap do |hash|
247
+ value.each do |k, v|
248
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
249
+ end
250
+ end
251
+ else # model
252
+ # models (e.g. Pet) or oneOf
253
+ klass = ElasticEmail.const_get(type)
254
+ klass.respond_to?(:openapi_any_of) || klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
255
+ end
256
+ end
257
+
258
+ # Returns the string representation of the object
259
+ # @return [String] String presentation of the object
260
+ def to_s
261
+ to_hash.to_s
262
+ end
263
+
264
+ # to_body is an alias to to_hash (backward compatibility)
265
+ # @return [Hash] Returns the object in the form of hash
266
+ def to_body
267
+ to_hash
268
+ end
269
+
270
+ # Returns the object in the form of hash
271
+ # @return [Hash] Returns the object in the form of hash
272
+ def to_hash
273
+ hash = {}
274
+ self.class.attribute_map.each_pair do |attr, param|
275
+ value = self.send(attr)
276
+ if value.nil?
277
+ is_nullable = self.class.openapi_nullable.include?(attr)
278
+ next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
279
+ end
280
+
281
+ hash[param] = _to_hash(value)
282
+ end
283
+ hash
284
+ end
285
+
286
+ # Outputs non-array value in the form of hash
287
+ # For object, use to_hash. Otherwise, just return the value
288
+ # @param [Object] value Any valid value
289
+ # @return [Hash] Returns the value in the form of hash
290
+ def _to_hash(value)
291
+ if value.is_a?(Array)
292
+ value.compact.map { |v| _to_hash(v) }
293
+ elsif value.is_a?(Hash)
294
+ {}.tap do |hash|
295
+ value.each { |k, v| hash[k] = _to_hash(v) }
296
+ end
297
+ elsif value.respond_to? :to_hash
298
+ value.to_hash
299
+ else
300
+ value
301
+ end
302
+ end
303
+
304
+ end
305
+
306
+ end
@@ -11,5 +11,5 @@ Generator version: 7.11.0
11
11
  =end
12
12
 
13
13
  module ElasticEmail
14
- VERSION = '4.0.27'
14
+ VERSION = '4.0.28'
15
15
  end
data/lib/ElasticEmail.rb CHANGED
@@ -111,6 +111,9 @@ require 'ElasticEmail/models/utm'
111
111
  require 'ElasticEmail/models/verification_file_result'
112
112
  require 'ElasticEmail/models/verification_file_result_details'
113
113
  require 'ElasticEmail/models/verification_status'
114
+ require 'ElasticEmail/models/webhook'
115
+ require 'ElasticEmail/models/webhook_create_payload'
116
+ require 'ElasticEmail/models/webhook_update_payload'
114
117
 
115
118
  # APIs
116
119
  require 'ElasticEmail/api/campaigns_api'
@@ -128,6 +131,7 @@ require 'ElasticEmail/api/sub_accounts_api'
128
131
  require 'ElasticEmail/api/suppressions_api'
129
132
  require 'ElasticEmail/api/templates_api'
130
133
  require 'ElasticEmail/api/verifications_api'
134
+ require 'ElasticEmail/api/webhook_api'
131
135
 
132
136
  module ElasticEmail
133
137
  class << self
@@ -0,0 +1,97 @@
1
+ =begin
2
+ #Elastic Email REST API
3
+
4
+ #This API is based on the REST API architecture, allowing the user to easily manage their data with this resource-based approach. Every API call is established on which specific request type (GET, POST, PUT, DELETE) will be used. The API has a limit of 20 concurrent connections and a hard timeout of 600 seconds per request. To start using this API, you will need your Access Token (available <a target='_blank' href='https://app.elasticemail.com/marketing/settings/new/manage-api'>here</a>). Remember to keep it safe. Required access levels are listed in the given request’s description. Downloadable library clients can be found in our Github repository <a target='_blank' href='https://github.com/ElasticEmail?tab=repositories&q=%22rest+api%22+in%3Areadme'>here</a>
5
+
6
+ The version of the OpenAPI document: 4.0.0
7
+ Contact: support@elasticemail.com
8
+ Generated by: https://openapi-generator.tech
9
+ Generator version: 7.11.0
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+
16
+ # Unit tests for ElasticEmail::WebhookApi
17
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
18
+ # Please update as you see appropriate
19
+ describe 'WebhookApi' do
20
+ before do
21
+ # run before each test
22
+ @api_instance = ElasticEmail::WebhookApi.new
23
+ end
24
+
25
+ after do
26
+ # run after each test
27
+ end
28
+
29
+ describe 'test an instance of WebhookApi' do
30
+ it 'should create an instance of WebhookApi' do
31
+ expect(@api_instance).to be_instance_of(ElasticEmail::WebhookApi)
32
+ end
33
+ end
34
+
35
+ # unit tests for webhook_by_publicid_delete
36
+ # Delete Webhook
37
+ # Delete the specified notifications webhook. Required Access Level: ModifyWebNotifications
38
+ # @param publicid
39
+ # @param [Hash] opts the optional parameters
40
+ # @return [nil]
41
+ describe 'webhook_by_publicid_delete test' do
42
+ it 'should work' do
43
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
44
+ end
45
+ end
46
+
47
+ # unit tests for webhook_by_publicid_get
48
+ # Load Webhook
49
+ # Load notifications webhook details. Required Access Level: ViewWebNotifications
50
+ # @param publicid
51
+ # @param [Hash] opts the optional parameters
52
+ # @return [Webhook]
53
+ describe 'webhook_by_publicid_get test' do
54
+ it 'should work' do
55
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
56
+ end
57
+ end
58
+
59
+ # unit tests for webhook_by_publicid_put
60
+ # Update Webhook
61
+ # Update notification webhook. Required Access Level: ModifyWebNotifications
62
+ # @param publicid
63
+ # @param webhook_update_payload
64
+ # @param [Hash] opts the optional parameters
65
+ # @return [Webhook]
66
+ describe 'webhook_by_publicid_put test' do
67
+ it 'should work' do
68
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
69
+ end
70
+ end
71
+
72
+ # unit tests for webhook_get
73
+ # Load Webhooks
74
+ # Returns a list of notification webhooks. Required Access Level: ViewWebNotifications
75
+ # @param [Hash] opts the optional parameters
76
+ # @option opts [Integer] :limit Maximum number of returned items.
77
+ # @option opts [Integer] :offset How many items should be returned ahead.
78
+ # @return [Array<Webhook>]
79
+ describe 'webhook_get test' do
80
+ it 'should work' do
81
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
82
+ end
83
+ end
84
+
85
+ # unit tests for webhook_post
86
+ # Add Webhook
87
+ # Add a notification webhook. Required Access Level: ModifyWebNotifications
88
+ # @param webhook_create_payload
89
+ # @param [Hash] opts the optional parameters
90
+ # @return [Webhook]
91
+ describe 'webhook_post test' do
92
+ it 'should work' do
93
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
94
+ end
95
+ end
96
+
97
+ end
@@ -69,4 +69,10 @@ describe ElasticEmail::CampaignOptions do
69
69
  end
70
70
  end
71
71
 
72
+ describe 'test attribute "send_at_local_time"' do
73
+ it 'should work' do
74
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
75
+ end
76
+ end
77
+
72
78
  end
@@ -0,0 +1,84 @@
1
+ =begin
2
+ #Elastic Email REST API
3
+
4
+ #This API is based on the REST API architecture, allowing the user to easily manage their data with this resource-based approach. Every API call is established on which specific request type (GET, POST, PUT, DELETE) will be used. The API has a limit of 20 concurrent connections and a hard timeout of 600 seconds per request. To start using this API, you will need your Access Token (available <a target='_blank' href='https://app.elasticemail.com/marketing/settings/new/manage-api'>here</a>). Remember to keep it safe. Required access levels are listed in the given request’s description. Downloadable library clients can be found in our Github repository <a target='_blank' href='https://github.com/ElasticEmail?tab=repositories&q=%22rest+api%22+in%3Areadme'>here</a>
5
+
6
+ The version of the OpenAPI document: 4.0.0
7
+ Contact: support@elasticemail.com
8
+ Generated by: https://openapi-generator.tech
9
+ Generator version: 7.11.0
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for ElasticEmail::WebhookCreatePayload
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe ElasticEmail::WebhookCreatePayload do
21
+ let(:instance) { ElasticEmail::WebhookCreatePayload.new }
22
+
23
+ describe 'test an instance of WebhookCreatePayload' do
24
+ it 'should create an instance of WebhookCreatePayload' do
25
+ # uncomment below to test the instance creation
26
+ #expect(instance).to be_instance_of(ElasticEmail::WebhookCreatePayload)
27
+ end
28
+ end
29
+
30
+ describe 'test attribute "name"' do
31
+ it 'should work' do
32
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
33
+ end
34
+ end
35
+
36
+ describe 'test attribute "url"' do
37
+ it 'should work' do
38
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
39
+ end
40
+ end
41
+
42
+ describe 'test attribute "notify_once_per_email"' do
43
+ it 'should work' do
44
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
45
+ end
46
+ end
47
+
48
+ describe 'test attribute "notification_for_sent"' do
49
+ it 'should work' do
50
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
51
+ end
52
+ end
53
+
54
+ describe 'test attribute "notification_for_opened"' do
55
+ it 'should work' do
56
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
57
+ end
58
+ end
59
+
60
+ describe 'test attribute "notification_for_clicked"' do
61
+ it 'should work' do
62
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
63
+ end
64
+ end
65
+
66
+ describe 'test attribute "notification_for_unsubscribed"' do
67
+ it 'should work' do
68
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
69
+ end
70
+ end
71
+
72
+ describe 'test attribute "notification_for_abuse_report"' do
73
+ it 'should work' do
74
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
75
+ end
76
+ end
77
+
78
+ describe 'test attribute "notification_for_error"' do
79
+ it 'should work' do
80
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
81
+ end
82
+ end
83
+
84
+ end
@@ -0,0 +1,108 @@
1
+ =begin
2
+ #Elastic Email REST API
3
+
4
+ #This API is based on the REST API architecture, allowing the user to easily manage their data with this resource-based approach. Every API call is established on which specific request type (GET, POST, PUT, DELETE) will be used. The API has a limit of 20 concurrent connections and a hard timeout of 600 seconds per request. To start using this API, you will need your Access Token (available <a target='_blank' href='https://app.elasticemail.com/marketing/settings/new/manage-api'>here</a>). Remember to keep it safe. Required access levels are listed in the given request’s description. Downloadable library clients can be found in our Github repository <a target='_blank' href='https://github.com/ElasticEmail?tab=repositories&q=%22rest+api%22+in%3Areadme'>here</a>
5
+
6
+ The version of the OpenAPI document: 4.0.0
7
+ Contact: support@elasticemail.com
8
+ Generated by: https://openapi-generator.tech
9
+ Generator version: 7.11.0
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for ElasticEmail::Webhook
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe ElasticEmail::Webhook do
21
+ let(:instance) { ElasticEmail::Webhook.new }
22
+
23
+ describe 'test an instance of Webhook' do
24
+ it 'should create an instance of Webhook' do
25
+ # uncomment below to test the instance creation
26
+ #expect(instance).to be_instance_of(ElasticEmail::Webhook)
27
+ end
28
+ end
29
+
30
+ describe 'test attribute "webhook_id"' do
31
+ it 'should work' do
32
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
33
+ end
34
+ end
35
+
36
+ describe 'test attribute "name"' do
37
+ it 'should work' do
38
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
39
+ end
40
+ end
41
+
42
+ describe 'test attribute "date_created"' do
43
+ it 'should work' do
44
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
45
+ end
46
+ end
47
+
48
+ describe 'test attribute "date_updated"' do
49
+ it 'should work' do
50
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
51
+ end
52
+ end
53
+
54
+ describe 'test attribute "url"' do
55
+ it 'should work' do
56
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
57
+ end
58
+ end
59
+
60
+ describe 'test attribute "notify_once_per_email"' do
61
+ it 'should work' do
62
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
63
+ end
64
+ end
65
+
66
+ describe 'test attribute "notification_for_sent"' do
67
+ it 'should work' do
68
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
69
+ end
70
+ end
71
+
72
+ describe 'test attribute "notification_for_opened"' do
73
+ it 'should work' do
74
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
75
+ end
76
+ end
77
+
78
+ describe 'test attribute "notification_for_clicked"' do
79
+ it 'should work' do
80
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
81
+ end
82
+ end
83
+
84
+ describe 'test attribute "notification_for_unsubscribed"' do
85
+ it 'should work' do
86
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
87
+ end
88
+ end
89
+
90
+ describe 'test attribute "notification_for_abuse_report"' do
91
+ it 'should work' do
92
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
93
+ end
94
+ end
95
+
96
+ describe 'test attribute "notification_for_error"' do
97
+ it 'should work' do
98
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
99
+ end
100
+ end
101
+
102
+ describe 'test attribute "is_enabled"' do
103
+ it 'should work' do
104
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
105
+ end
106
+ end
107
+
108
+ end