sib-api-v3-sdk 5.2.0 → 5.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/docs/AccountApi.md +6 -1
- data/docs/AttributesApi.md +24 -4
- data/docs/ContactsApi.md +156 -26
- data/docs/CreateAttribute.md +1 -1
- data/docs/CreateContact.md +1 -1
- data/docs/CreateEmailCampaign.md +9 -3
- data/docs/CreateSmtpTemplate.md +1 -1
- data/docs/EmailCampaignsApi.md +60 -10
- data/docs/FoldersApi.md +36 -6
- data/docs/GetCampaignOverview.md +8 -1
- data/docs/GetContactDetails.md +1 -0
- data/docs/GetEmailCampaign.md +8 -1
- data/docs/GetExtendedCampaignOverview.md +8 -1
- data/docs/GetExtendedContactDetails.md +1 -0
- data/docs/ListsApi.md +54 -9
- data/docs/ProcessApi.md +12 -2
- data/docs/RequestContactExport.md +1 -1
- data/docs/ResellerApi.md +54 -9
- data/docs/SMSCampaignsApi.md +60 -10
- data/docs/SMTPApi.md +72 -12
- data/docs/SendEmail.md +3 -3
- data/docs/SendSmtpEmail.md +4 -4
- data/docs/SendersApi.md +36 -6
- data/docs/TransactionalSMSApi.md +24 -4
- data/docs/UpdateAttribute.md +1 -1
- data/docs/UpdateContact.md +1 -1
- data/docs/UpdateEmailCampaign.md +8 -2
- data/docs/UpdateSmtpTemplate.md +1 -1
- data/docs/WebhooksApi.md +30 -5
- data/lib/sib-api-v3-sdk/api/account_api.rb +1 -1
- data/lib/sib-api-v3-sdk/api/attributes_api.rb +4 -4
- data/lib/sib-api-v3-sdk/api/contacts_api.rb +26 -26
- data/lib/sib-api-v3-sdk/api/email_campaigns_api.rb +10 -10
- data/lib/sib-api-v3-sdk/api/folders_api.rb +6 -6
- data/lib/sib-api-v3-sdk/api/lists_api.rb +9 -9
- data/lib/sib-api-v3-sdk/api/process_api.rb +2 -2
- data/lib/sib-api-v3-sdk/api/reseller_api.rb +9 -9
- data/lib/sib-api-v3-sdk/api/senders_api.rb +6 -6
- data/lib/sib-api-v3-sdk/api/sms_campaigns_api.rb +10 -10
- data/lib/sib-api-v3-sdk/api/smtp_api.rb +12 -12
- data/lib/sib-api-v3-sdk/api/transactional_sms_api.rb +4 -4
- data/lib/sib-api-v3-sdk/api/webhooks_api.rb +5 -5
- data/lib/sib-api-v3-sdk/configuration.rb +7 -0
- data/lib/sib-api-v3-sdk/models/create_attribute.rb +1 -1
- data/lib/sib-api-v3-sdk/models/create_contact.rb +1 -1
- data/lib/sib-api-v3-sdk/models/create_email_campaign.rb +150 -10
- data/lib/sib-api-v3-sdk/models/create_email_campaign_sender.rb +1 -1
- data/lib/sib-api-v3-sdk/models/create_smtp_template.rb +1 -1
- data/lib/sib-api-v3-sdk/models/create_smtp_template_sender.rb +1 -1
- data/lib/sib-api-v3-sdk/models/get_campaign_overview.rb +75 -10
- data/lib/sib-api-v3-sdk/models/get_contact_details.rb +16 -1
- data/lib/sib-api-v3-sdk/models/get_email_campaign.rb +72 -7
- data/lib/sib-api-v3-sdk/models/get_extended_campaign_overview.rb +72 -7
- data/lib/sib-api-v3-sdk/models/get_extended_contact_details.rb +16 -1
- data/lib/sib-api-v3-sdk/models/request_contact_export.rb +1 -1
- data/lib/sib-api-v3-sdk/models/send_email.rb +3 -3
- data/lib/sib-api-v3-sdk/models/send_smtp_email.rb +4 -4
- data/lib/sib-api-v3-sdk/models/send_smtp_email_reply_to.rb +1 -1
- data/lib/sib-api-v3-sdk/models/send_smtp_email_sender.rb +1 -1
- data/lib/sib-api-v3-sdk/models/update_attribute.rb +1 -1
- data/lib/sib-api-v3-sdk/models/update_contact.rb +1 -1
- data/lib/sib-api-v3-sdk/models/update_email_campaign.rb +151 -6
- data/lib/sib-api-v3-sdk/models/update_email_campaign_sender.rb +1 -1
- data/lib/sib-api-v3-sdk/models/update_smtp_template.rb +1 -1
- data/lib/sib-api-v3-sdk/models/update_smtp_template_sender.rb +1 -1
- data/lib/sib-api-v3-sdk/version.rb +1 -1
- data/spec/models/create_email_campaign_spec.rb +40 -0
- data/spec/models/get_campaign_overview_spec.rb +42 -0
- data/spec/models/get_contact_details_spec.rb +6 -0
- data/spec/models/get_email_campaign_spec.rb +42 -0
- data/spec/models/get_extended_campaign_overview_spec.rb +42 -0
- data/spec/models/get_extended_contact_details_spec.rb +6 -0
- data/spec/models/update_email_campaign_spec.rb +40 -0
- metadata +2 -2
@@ -13,7 +13,7 @@ Swagger Codegen version: 2.3.1
|
|
13
13
|
require 'date'
|
14
14
|
|
15
15
|
module SibApiV3Sdk
|
16
|
-
# Email (required), along with name (optional), on which transactional mail recipients will be able to reply back. For example, {
|
16
|
+
# Email (required), along with name (optional), on which transactional mail recipients will be able to reply back. For example, `{\"email':'ann6533@example.com', 'name':'Ann'}`
|
17
17
|
class SendSmtpEmailReplyTo
|
18
18
|
# Email address in reply to
|
19
19
|
attr_accessor :email
|
@@ -13,7 +13,7 @@ Swagger Codegen version: 2.3.1
|
|
13
13
|
require 'date'
|
14
14
|
|
15
15
|
module SibApiV3Sdk
|
16
|
-
# Mandatory if 'templateId' is not passed. Pass name (optional) and email of sender from which emails will be sent. For example, {
|
16
|
+
# Mandatory if 'templateId' is not passed. Pass name (optional) and email of sender from which emails will be sent. For example, `{\"name\":\"Mary from MyShop\", \"email\":\"no-reply@myshop.com\"}`
|
17
17
|
class SendSmtpEmailSender
|
18
18
|
# Name of the sender from which the emails will be sent
|
19
19
|
attr_accessor :name
|
@@ -18,7 +18,7 @@ module SibApiV3Sdk
|
|
18
18
|
# Value of the attribute to update. Use only if the attribute's category is 'calculated' or 'global'
|
19
19
|
attr_accessor :value
|
20
20
|
|
21
|
-
# List of the values and labels that the attribute can take. Use only if the attribute's category is \"category\". For example, [{
|
21
|
+
# List of the values and labels that the attribute can take. Use only if the attribute's category is \"category\". For example, `[{\"value\":1, \"label\":\"male\"}, {\"value\":2, \"label\":\"female\"}]`
|
22
22
|
attr_accessor :enumeration
|
23
23
|
|
24
24
|
|
@@ -15,7 +15,7 @@ require 'date'
|
|
15
15
|
module SibApiV3Sdk
|
16
16
|
|
17
17
|
class UpdateContact
|
18
|
-
# Pass the set of attributes to be updated. These attributes must be present in your account. To update existing email address of a contact with the new one please pass EMAIL in attribtes. For
|
18
|
+
# Pass the set of attributes to be updated. These attributes must be present in your account. To update existing email address of a contact with the new one please pass EMAIL in attribtes. For example, `{ 'EMAIL':'newemail@domain.com', 'FNAME':'Ellie', 'LNAME':'Roger'}`
|
19
19
|
attr_accessor :attributes
|
20
20
|
|
21
21
|
# Set/unset this field to blacklist/allow the contact for emails (emailBlacklisted = true)
|
@@ -38,7 +38,7 @@ module SibApiV3Sdk
|
|
38
38
|
# Email on which campaign recipients will be able to reply to
|
39
39
|
attr_accessor :reply_to
|
40
40
|
|
41
|
-
# To personalize the «To» Field. If you want to include the first name and last name of your recipient, add {FNAME} {LNAME}
|
41
|
+
# To personalize the «To» Field. If you want to include the first name and last name of your recipient, add `{FNAME} {LNAME}`. These contact attributes must already exist in your SendinBlue account. If input parameter 'params' used please use `{{contact.FNAME}} {{contact.LNAME}}` for personalization
|
42
42
|
attr_accessor :to_field
|
43
43
|
|
44
44
|
attr_accessor :recipients
|
@@ -64,12 +64,51 @@ module SibApiV3Sdk
|
|
64
64
|
# Customize the utm_campaign value. If this field is empty, the campaign name will be used. Only alphanumeric characters and spaces are allowed
|
65
65
|
attr_accessor :utm_campaign
|
66
66
|
|
67
|
-
# Pass the set of attributes to customize the type 'classic' campaign. For example, {
|
67
|
+
# Pass the set of attributes to customize the type 'classic' campaign. For example, `{\"FNAME\":\"Joe\", \"LNAME\":\"Doe\"}`. The 'params' field will get updated, only if the campaign is in New Template Language, else ignored. The New Template Language is dependent on the values of 'subject', 'htmlContent/htmlUrl', 'sender.name' & 'toField'
|
68
68
|
attr_accessor :params
|
69
69
|
|
70
70
|
# Set this to true if you want to send your campaign at best time. Note:- if true, warmup ip will be disabled.
|
71
71
|
attr_accessor :send_at_best_time
|
72
72
|
|
73
|
+
# Status of A/B Test. abTesting = false means it is disabled, & abTesting = true means it is enabled. 'subjectA', 'subjectB', 'splitRule', 'winnerCriteria' & 'winnerDelay' will be considered if abTesting is set to true. 'subject' if passed is ignored. Can be set to true only if 'sendAtBestTime' is 'false'. You will be able to set up two subject lines for your campaign and send them to a random sample of your total recipients. Half of the test group will receive version A, and the other half will receive version B
|
74
|
+
attr_accessor :ab_testing
|
75
|
+
|
76
|
+
# Subject A of the campaign. Considered if abTesting = true. subjectA & subjectB should have unique value
|
77
|
+
attr_accessor :subject_a
|
78
|
+
|
79
|
+
# Subject B of the campaign. Considered if abTesting = true. subjectA & subjectB should have unique value
|
80
|
+
attr_accessor :subject_b
|
81
|
+
|
82
|
+
# Add the size of your test groups. Considered if abTesting = true. We'll send version A and B to a random sample of recipients, and then the winning version to everyone else
|
83
|
+
attr_accessor :split_rule
|
84
|
+
|
85
|
+
# Choose the metrics that will determinate the winning version. Considered if 'splitRule' >= 1 and < 50. If splitRule = 50, 'winnerCriteria' is ignored if passed or alreday exist in record
|
86
|
+
attr_accessor :winner_criteria
|
87
|
+
|
88
|
+
# Choose the duration of the test in hours. Maximum is 7 days, pass 24*7 = 168 hours. The winning version will be sent at the end of the test. Considered if 'splitRule' >= 1 and < 50. If splitRule = 50, 'winnerDelay' is ignored if passed or alreday exist in record
|
89
|
+
attr_accessor :winner_delay
|
90
|
+
|
91
|
+
class EnumAttributeValidator
|
92
|
+
attr_reader :datatype
|
93
|
+
attr_reader :allowable_values
|
94
|
+
|
95
|
+
def initialize(datatype, allowable_values)
|
96
|
+
@allowable_values = allowable_values.map do |value|
|
97
|
+
case datatype.to_s
|
98
|
+
when /Integer/i
|
99
|
+
value.to_i
|
100
|
+
when /Float/i
|
101
|
+
value.to_f
|
102
|
+
else
|
103
|
+
value
|
104
|
+
end
|
105
|
+
end
|
106
|
+
end
|
107
|
+
|
108
|
+
def valid?(value)
|
109
|
+
!value || allowable_values.include?(value)
|
110
|
+
end
|
111
|
+
end
|
73
112
|
|
74
113
|
# Attribute mapping from ruby-style variable name to JSON key.
|
75
114
|
def self.attribute_map
|
@@ -92,7 +131,13 @@ module SibApiV3Sdk
|
|
92
131
|
:'header' => :'header',
|
93
132
|
:'utm_campaign' => :'utmCampaign',
|
94
133
|
:'params' => :'params',
|
95
|
-
:'send_at_best_time' => :'sendAtBestTime'
|
134
|
+
:'send_at_best_time' => :'sendAtBestTime',
|
135
|
+
:'ab_testing' => :'abTesting',
|
136
|
+
:'subject_a' => :'subjectA',
|
137
|
+
:'subject_b' => :'subjectB',
|
138
|
+
:'split_rule' => :'splitRule',
|
139
|
+
:'winner_criteria' => :'winnerCriteria',
|
140
|
+
:'winner_delay' => :'winnerDelay'
|
96
141
|
}
|
97
142
|
end
|
98
143
|
|
@@ -117,7 +162,13 @@ module SibApiV3Sdk
|
|
117
162
|
:'header' => :'String',
|
118
163
|
:'utm_campaign' => :'String',
|
119
164
|
:'params' => :'Object',
|
120
|
-
:'send_at_best_time' => :'BOOLEAN'
|
165
|
+
:'send_at_best_time' => :'BOOLEAN',
|
166
|
+
:'ab_testing' => :'BOOLEAN',
|
167
|
+
:'subject_a' => :'String',
|
168
|
+
:'subject_b' => :'String',
|
169
|
+
:'split_rule' => :'Integer',
|
170
|
+
:'winner_criteria' => :'String',
|
171
|
+
:'winner_delay' => :'Integer'
|
121
172
|
}
|
122
173
|
end
|
123
174
|
|
@@ -209,21 +260,109 @@ module SibApiV3Sdk
|
|
209
260
|
self.send_at_best_time = attributes[:'sendAtBestTime']
|
210
261
|
end
|
211
262
|
|
263
|
+
if attributes.has_key?(:'abTesting')
|
264
|
+
self.ab_testing = attributes[:'abTesting']
|
265
|
+
else
|
266
|
+
self.ab_testing = false
|
267
|
+
end
|
268
|
+
|
269
|
+
if attributes.has_key?(:'subjectA')
|
270
|
+
self.subject_a = attributes[:'subjectA']
|
271
|
+
end
|
272
|
+
|
273
|
+
if attributes.has_key?(:'subjectB')
|
274
|
+
self.subject_b = attributes[:'subjectB']
|
275
|
+
end
|
276
|
+
|
277
|
+
if attributes.has_key?(:'splitRule')
|
278
|
+
self.split_rule = attributes[:'splitRule']
|
279
|
+
end
|
280
|
+
|
281
|
+
if attributes.has_key?(:'winnerCriteria')
|
282
|
+
self.winner_criteria = attributes[:'winnerCriteria']
|
283
|
+
end
|
284
|
+
|
285
|
+
if attributes.has_key?(:'winnerDelay')
|
286
|
+
self.winner_delay = attributes[:'winnerDelay']
|
287
|
+
end
|
288
|
+
|
212
289
|
end
|
213
290
|
|
214
291
|
# Show invalid properties with the reasons. Usually used together with valid?
|
215
292
|
# @return Array for valid properties with the reasons
|
216
293
|
def list_invalid_properties
|
217
294
|
invalid_properties = Array.new
|
295
|
+
if !@split_rule.nil? && @split_rule > 50
|
296
|
+
invalid_properties.push("invalid value for 'split_rule', must be smaller than or equal to 50.")
|
297
|
+
end
|
298
|
+
|
299
|
+
if !@split_rule.nil? && @split_rule < 1
|
300
|
+
invalid_properties.push("invalid value for 'split_rule', must be greater than or equal to 1.")
|
301
|
+
end
|
302
|
+
|
303
|
+
if !@winner_delay.nil? && @winner_delay > 168
|
304
|
+
invalid_properties.push("invalid value for 'winner_delay', must be smaller than or equal to 168.")
|
305
|
+
end
|
306
|
+
|
307
|
+
if !@winner_delay.nil? && @winner_delay < 1
|
308
|
+
invalid_properties.push("invalid value for 'winner_delay', must be greater than or equal to 1.")
|
309
|
+
end
|
310
|
+
|
218
311
|
return invalid_properties
|
219
312
|
end
|
220
313
|
|
221
314
|
# Check to see if the all the properties in the model are valid
|
222
315
|
# @return true if the model is valid
|
223
316
|
def valid?
|
317
|
+
return false if !@split_rule.nil? && @split_rule > 50
|
318
|
+
return false if !@split_rule.nil? && @split_rule < 1
|
319
|
+
winner_criteria_validator = EnumAttributeValidator.new('String', ["open", "click"])
|
320
|
+
return false unless winner_criteria_validator.valid?(@winner_criteria)
|
321
|
+
return false if !@winner_delay.nil? && @winner_delay > 168
|
322
|
+
return false if !@winner_delay.nil? && @winner_delay < 1
|
224
323
|
return true
|
225
324
|
end
|
226
325
|
|
326
|
+
# Custom attribute writer method with validation
|
327
|
+
# @param [Object] split_rule Value to be assigned
|
328
|
+
def split_rule=(split_rule)
|
329
|
+
|
330
|
+
if !split_rule.nil? && split_rule > 50
|
331
|
+
fail ArgumentError, "invalid value for 'split_rule', must be smaller than or equal to 50."
|
332
|
+
end
|
333
|
+
|
334
|
+
if !split_rule.nil? && split_rule < 1
|
335
|
+
fail ArgumentError, "invalid value for 'split_rule', must be greater than or equal to 1."
|
336
|
+
end
|
337
|
+
|
338
|
+
@split_rule = split_rule
|
339
|
+
end
|
340
|
+
|
341
|
+
# Custom attribute writer method checking allowed values (enum).
|
342
|
+
# @param [Object] winner_criteria Object to be assigned
|
343
|
+
def winner_criteria=(winner_criteria)
|
344
|
+
validator = EnumAttributeValidator.new('String', ["open", "click"])
|
345
|
+
unless validator.valid?(winner_criteria)
|
346
|
+
fail ArgumentError, "invalid value for 'winner_criteria', must be one of #{validator.allowable_values}."
|
347
|
+
end
|
348
|
+
@winner_criteria = winner_criteria
|
349
|
+
end
|
350
|
+
|
351
|
+
# Custom attribute writer method with validation
|
352
|
+
# @param [Object] winner_delay Value to be assigned
|
353
|
+
def winner_delay=(winner_delay)
|
354
|
+
|
355
|
+
if !winner_delay.nil? && winner_delay > 168
|
356
|
+
fail ArgumentError, "invalid value for 'winner_delay', must be smaller than or equal to 168."
|
357
|
+
end
|
358
|
+
|
359
|
+
if !winner_delay.nil? && winner_delay < 1
|
360
|
+
fail ArgumentError, "invalid value for 'winner_delay', must be greater than or equal to 1."
|
361
|
+
end
|
362
|
+
|
363
|
+
@winner_delay = winner_delay
|
364
|
+
end
|
365
|
+
|
227
366
|
# Checks equality by comparing each attribute.
|
228
367
|
# @param [Object] Object to be compared
|
229
368
|
def ==(o)
|
@@ -247,7 +386,13 @@ module SibApiV3Sdk
|
|
247
386
|
header == o.header &&
|
248
387
|
utm_campaign == o.utm_campaign &&
|
249
388
|
params == o.params &&
|
250
|
-
send_at_best_time == o.send_at_best_time
|
389
|
+
send_at_best_time == o.send_at_best_time &&
|
390
|
+
ab_testing == o.ab_testing &&
|
391
|
+
subject_a == o.subject_a &&
|
392
|
+
subject_b == o.subject_b &&
|
393
|
+
split_rule == o.split_rule &&
|
394
|
+
winner_criteria == o.winner_criteria &&
|
395
|
+
winner_delay == o.winner_delay
|
251
396
|
end
|
252
397
|
|
253
398
|
# @see the `==` method
|
@@ -259,7 +404,7 @@ module SibApiV3Sdk
|
|
259
404
|
# Calculates hash code according to all attributes.
|
260
405
|
# @return [Fixnum] Hash code
|
261
406
|
def hash
|
262
|
-
[tag, sender, name, html_content, html_url, scheduled_at, subject, reply_to, to_field, recipients, attachment_url, inline_image_activation, mirror_active, recurring, footer, header, utm_campaign, params, send_at_best_time].hash
|
407
|
+
[tag, sender, name, html_content, html_url, scheduled_at, subject, reply_to, to_field, recipients, attachment_url, inline_image_activation, mirror_active, recurring, footer, header, utm_campaign, params, send_at_best_time, ab_testing, subject_a, subject_b, split_rule, winner_criteria, winner_delay].hash
|
263
408
|
end
|
264
409
|
|
265
410
|
# Builds the object from hash
|
@@ -13,7 +13,7 @@ Swagger Codegen version: 2.3.1
|
|
13
13
|
require 'date'
|
14
14
|
|
15
15
|
module SibApiV3Sdk
|
16
|
-
# Sender details including email and/or name. For example {
|
16
|
+
# Sender details including email and/or name. For example `{\"name\":\"xyz\", \"email\":\"example@abc.com\"}`
|
17
17
|
class UpdateEmailCampaignSender
|
18
18
|
# Sender Name from which the campaign emails are sent
|
19
19
|
attr_accessor :name
|
@@ -35,7 +35,7 @@ module SibApiV3Sdk
|
|
35
35
|
# Email on which campaign recipients will be able to reply to
|
36
36
|
attr_accessor :reply_to
|
37
37
|
|
38
|
-
# To personalize the «To» Field. If you want to include the first name and last name of your recipient, add {FNAME} {LNAME}
|
38
|
+
# To personalize the «To» Field. If you want to include the first name and last name of your recipient, add `{FNAME} {LNAME}`. These contact attributes must already exist in your SendinBlue account. If input parameter 'params' used please use `{{contact.FNAME}} {{contact.LNAME}}` for personalization
|
39
39
|
attr_accessor :to_field
|
40
40
|
|
41
41
|
# Absolute url of the attachment (no local file). Extension allowed: xlsx, xls, ods, docx, docm, doc, csv, pdf, txt, gif, jpg, jpeg, png, tif, tiff, rtf, bmp, cgm, css, shtml, html, htm, zip, xml, ppt, pptx, tar, ez, ics, mobi, msg, pub and eps
|
@@ -13,7 +13,7 @@ Swagger Codegen version: 2.3.1
|
|
13
13
|
require 'date'
|
14
14
|
|
15
15
|
module SibApiV3Sdk
|
16
|
-
# Sender details including email and/or name. For example {
|
16
|
+
# Sender details including email and/or name. For example `{\"name\":\"xyz\", \"email\":\"example@abc.com\"}`
|
17
17
|
class UpdateSmtpTemplateSender
|
18
18
|
# Name of the sender
|
19
19
|
attr_accessor :name
|
@@ -146,5 +146,45 @@ describe 'CreateEmailCampaign' do
|
|
146
146
|
end
|
147
147
|
end
|
148
148
|
|
149
|
+
describe 'test attribute "ab_testing"' do
|
150
|
+
it 'should work' do
|
151
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
152
|
+
end
|
153
|
+
end
|
154
|
+
|
155
|
+
describe 'test attribute "subject_a"' do
|
156
|
+
it 'should work' do
|
157
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
158
|
+
end
|
159
|
+
end
|
160
|
+
|
161
|
+
describe 'test attribute "subject_b"' do
|
162
|
+
it 'should work' do
|
163
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
164
|
+
end
|
165
|
+
end
|
166
|
+
|
167
|
+
describe 'test attribute "split_rule"' do
|
168
|
+
it 'should work' do
|
169
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
170
|
+
end
|
171
|
+
end
|
172
|
+
|
173
|
+
describe 'test attribute "winner_criteria"' do
|
174
|
+
it 'should work' do
|
175
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
176
|
+
#validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["open", "click"])
|
177
|
+
#validator.allowable_values.each do |value|
|
178
|
+
# expect { @instance.winner_criteria = value }.not_to raise_error
|
179
|
+
#end
|
180
|
+
end
|
181
|
+
end
|
182
|
+
|
183
|
+
describe 'test attribute "winner_delay"' do
|
184
|
+
it 'should work' do
|
185
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
186
|
+
end
|
187
|
+
end
|
188
|
+
|
149
189
|
end
|
150
190
|
|
@@ -76,5 +76,47 @@ describe 'GetCampaignOverview' do
|
|
76
76
|
end
|
77
77
|
end
|
78
78
|
|
79
|
+
describe 'test attribute "ab_testing"' do
|
80
|
+
it 'should work' do
|
81
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
82
|
+
end
|
83
|
+
end
|
84
|
+
|
85
|
+
describe 'test attribute "subject_a"' do
|
86
|
+
it 'should work' do
|
87
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
88
|
+
end
|
89
|
+
end
|
90
|
+
|
91
|
+
describe 'test attribute "subject_b"' do
|
92
|
+
it 'should work' do
|
93
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
94
|
+
end
|
95
|
+
end
|
96
|
+
|
97
|
+
describe 'test attribute "split_rule"' do
|
98
|
+
it 'should work' do
|
99
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
100
|
+
end
|
101
|
+
end
|
102
|
+
|
103
|
+
describe 'test attribute "winner_criteria"' do
|
104
|
+
it 'should work' do
|
105
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
106
|
+
end
|
107
|
+
end
|
108
|
+
|
109
|
+
describe 'test attribute "winner_delay"' do
|
110
|
+
it 'should work' do
|
111
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
112
|
+
end
|
113
|
+
end
|
114
|
+
|
115
|
+
describe 'test attribute "send_at_best_time"' do
|
116
|
+
it 'should work' do
|
117
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
118
|
+
end
|
119
|
+
end
|
120
|
+
|
79
121
|
end
|
80
122
|
|
@@ -56,6 +56,12 @@ describe 'GetContactDetails' do
|
|
56
56
|
end
|
57
57
|
end
|
58
58
|
|
59
|
+
describe 'test attribute "created_at"' do
|
60
|
+
it 'should work' do
|
61
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
62
|
+
end
|
63
|
+
end
|
64
|
+
|
59
65
|
describe 'test attribute "modified_at"' do
|
60
66
|
it 'should work' do
|
61
67
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -76,6 +76,48 @@ describe 'GetEmailCampaign' do
|
|
76
76
|
end
|
77
77
|
end
|
78
78
|
|
79
|
+
describe 'test attribute "ab_testing"' do
|
80
|
+
it 'should work' do
|
81
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
82
|
+
end
|
83
|
+
end
|
84
|
+
|
85
|
+
describe 'test attribute "subject_a"' do
|
86
|
+
it 'should work' do
|
87
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
88
|
+
end
|
89
|
+
end
|
90
|
+
|
91
|
+
describe 'test attribute "subject_b"' do
|
92
|
+
it 'should work' do
|
93
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
94
|
+
end
|
95
|
+
end
|
96
|
+
|
97
|
+
describe 'test attribute "split_rule"' do
|
98
|
+
it 'should work' do
|
99
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
100
|
+
end
|
101
|
+
end
|
102
|
+
|
103
|
+
describe 'test attribute "winner_criteria"' do
|
104
|
+
it 'should work' do
|
105
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
106
|
+
end
|
107
|
+
end
|
108
|
+
|
109
|
+
describe 'test attribute "winner_delay"' do
|
110
|
+
it 'should work' do
|
111
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
112
|
+
end
|
113
|
+
end
|
114
|
+
|
115
|
+
describe 'test attribute "send_at_best_time"' do
|
116
|
+
it 'should work' do
|
117
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
118
|
+
end
|
119
|
+
end
|
120
|
+
|
79
121
|
describe 'test attribute "test_sent"' do
|
80
122
|
it 'should work' do
|
81
123
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|