freeclimb 4.5.2 → 4.6.0
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/CHANGELOG.md +12 -0
- data/Gemfile.lock +1 -1
- data/README.md +13 -6
- data/docs/AddToConference.md +0 -2
- data/docs/AddToConferenceAllOf.md +0 -2
- data/docs/CreateWebRTCToken.md +22 -0
- data/docs/DefaultApi.md +302 -7
- data/docs/GetDigits.md +1 -1
- data/docs/GetDigitsAllOf.md +1 -1
- data/docs/IncomingNumberResult.md +3 -1
- data/docs/IncomingNumberResultAllOf.md +3 -1
- data/docs/MessageRequest.md +2 -2
- data/docs/MessageRequestAllOf.md +2 -2
- data/docs/MessageResult.md +3 -1
- data/docs/MessageResultAllOf.md +3 -1
- data/docs/Play.md +0 -2
- data/docs/PlayAllOf.md +0 -2
- data/docs/RemoveFromConference.md +1 -4
- data/docs/SMSTenDLCCampaign.md +10 -0
- data/docs/SMSTollFreeCampaign.md +30 -0
- data/docs/SMSTollFreeCampaignsListResult.md +32 -0
- data/docs/SMSTollFreeCampaignsListResultAllOf.md +18 -0
- data/docs/Say.md +0 -2
- data/docs/SayAllOf.md +0 -2
- data/docs/SetListen.md +0 -2
- data/docs/SetListenAllOf.md +0 -2
- data/docs/SetTalk.md +0 -2
- data/docs/SetTalkAllOf.md +0 -2
- data/docs/TFN.md +18 -0
- data/docs/TerminateConference.md +1 -4
- data/lib/freeclimb/api/default_api.rb +258 -7
- data/lib/freeclimb/models/add_to_conference.rb +1 -13
- data/lib/freeclimb/models/add_to_conference_all_of.rb +1 -13
- data/lib/freeclimb/models/create_web_rtc_token.rb +278 -0
- data/lib/freeclimb/models/get_digits.rb +1 -1
- data/lib/freeclimb/models/get_digits_all_of.rb +1 -1
- data/lib/freeclimb/models/incoming_number_result.rb +16 -5
- data/lib/freeclimb/models/incoming_number_result_all_of.rb +16 -5
- data/lib/freeclimb/models/message_request.rb +11 -9
- data/lib/freeclimb/models/message_request_all_of.rb +11 -9
- data/lib/freeclimb/models/message_result.rb +19 -5
- data/lib/freeclimb/models/message_result_all_of.rb +19 -5
- data/lib/freeclimb/models/play.rb +1 -13
- data/lib/freeclimb/models/play_all_of.rb +1 -13
- data/lib/freeclimb/models/remove_from_conference.rb +3 -23
- data/lib/freeclimb/models/say.rb +1 -13
- data/lib/freeclimb/models/say_all_of.rb +1 -13
- data/lib/freeclimb/models/set_listen.rb +2 -18
- data/lib/freeclimb/models/set_listen_all_of.rb +2 -18
- data/lib/freeclimb/models/set_talk.rb +2 -18
- data/lib/freeclimb/models/set_talk_all_of.rb +2 -18
- data/lib/freeclimb/models/sms_ten_dlc_campaign.rb +131 -1
- data/lib/freeclimb/models/sms_toll_free_campaign.rb +349 -0
- data/lib/freeclimb/models/sms_toll_free_campaigns_list_result.rb +311 -0
- data/lib/freeclimb/models/sms_toll_free_campaigns_list_result_all_of.rb +226 -0
- data/lib/freeclimb/models/terminate_conference.rb +3 -23
- data/lib/freeclimb/models/tfn.rb +229 -0
- data/lib/freeclimb/version.rb +1 -1
- data/lib/freeclimb.rb +5 -2
- data/openapi.json +605 -110
- data/package.json +8 -0
- data/spec/api/default_api_spec.rb +104 -3
- data/spec/models/add_to_conference_spec.rb +0 -30
- data/spec/models/create_web_rtc_token_spec.rb +225 -0
- data/spec/models/get_digits_spec.rb +19 -19
- data/spec/models/incoming_number_result_spec.rb +25 -0
- data/spec/models/message_request_spec.rb +23 -23
- data/spec/models/message_result_spec.rb +30 -0
- data/spec/models/play_spec.rb +0 -30
- data/spec/models/remove_from_conference_spec.rb +1 -67
- data/spec/models/say_spec.rb +0 -30
- data/spec/models/set_listen_spec.rb +0 -31
- data/spec/models/set_talk_spec.rb +0 -31
- data/spec/models/sms_ten_dlc_campaign_spec.rb +165 -0
- data/spec/models/sms_toll_free_campaign_spec.rb +368 -0
- data/spec/models/sms_toll_free_campaigns_list_result_spec.rb +371 -0
- data/spec/models/terminate_conference_spec.rb +1 -67
- data/spec/models/tfn_spec.rb +162 -0
- data/yarn.lock +1292 -0
- metadata +103 -83
@@ -26,13 +26,6 @@ describe Freeclimb::SetTalk do
|
|
26
26
|
end
|
27
27
|
end
|
28
28
|
|
29
|
-
describe 'test attribute "call_id"' do
|
30
|
-
it 'should work' do
|
31
|
-
instance.call_id = "TEST_STRING"
|
32
|
-
expect(instance.call_id).to eq("TEST_STRING")
|
33
|
-
end
|
34
|
-
end
|
35
|
-
|
36
29
|
describe 'test attribute "talk"' do
|
37
30
|
it 'should work' do
|
38
31
|
instance.talk = false
|
@@ -43,20 +36,17 @@ describe Freeclimb::SetTalk do
|
|
43
36
|
describe 'test method "initialize"' do
|
44
37
|
it 'properly initializes with values' do
|
45
38
|
expect{instance = Freeclimb::SetTalk.new(
|
46
|
-
call_id: "TS",
|
47
39
|
talk: true,
|
48
40
|
)}.not_to raise_error()
|
49
41
|
end
|
50
42
|
it 'fails to initialize with input argument that is not a hash in Freeclimb::SetTalk' do
|
51
43
|
expect{instance = Freeclimb::SetTalk.new(
|
52
|
-
call_id: "TS",
|
53
44
|
talk: true,
|
54
45
|
invalid_attribute: true
|
55
46
|
)}.to raise_error(ArgumentError)
|
56
47
|
end
|
57
48
|
it 'fails to initialize with invalid attribute' do
|
58
49
|
expect{instance = Freeclimb::SetTalk.new(
|
59
|
-
call_id: "TS",
|
60
50
|
talk: true,
|
61
51
|
invalid_attribute: true
|
62
52
|
)}.to raise_error(ArgumentError)
|
@@ -66,14 +56,12 @@ describe Freeclimb::SetTalk do
|
|
66
56
|
describe 'test method "valid"' do
|
67
57
|
it 'checks if properties are valid' do
|
68
58
|
instance = Freeclimb::SetTalk.new(
|
69
|
-
call_id: "TS",
|
70
59
|
talk: true,
|
71
60
|
)
|
72
61
|
expect(instance.valid?).to eq(true)
|
73
62
|
end
|
74
63
|
it 'checks if properties are invalid' do
|
75
64
|
instance = Freeclimb::SetTalk.new(
|
76
|
-
call_id: nil,
|
77
65
|
)
|
78
66
|
expect(instance.valid?).to eq(false)
|
79
67
|
end
|
@@ -87,22 +75,18 @@ describe Freeclimb::SetTalk do
|
|
87
75
|
it 'checks if objects are equal' do
|
88
76
|
obj = Object.new()
|
89
77
|
instance_1 = Freeclimb::SetTalk.new(
|
90
|
-
call_id: "TS",
|
91
78
|
talk: true,
|
92
79
|
)
|
93
80
|
instance_2 = Freeclimb::SetTalk.new(
|
94
|
-
call_id: "TS",
|
95
81
|
talk: true,
|
96
82
|
)
|
97
83
|
expect(instance_1.eql?(instance_2)).to eq(true)
|
98
84
|
end
|
99
85
|
it 'checks if objects are not equal' do
|
100
86
|
instance_1 = Freeclimb::SetTalk.new(
|
101
|
-
call_id: "TS",
|
102
87
|
talk: true,
|
103
88
|
)
|
104
89
|
instance_2 = Freeclimb::SetTalk.new(
|
105
|
-
call_id: "ST",
|
106
90
|
talk: false,
|
107
91
|
)
|
108
92
|
expect(instance_1.eql?(instance_2)).to eq(false)
|
@@ -112,7 +96,6 @@ describe Freeclimb::SetTalk do
|
|
112
96
|
describe 'test method "hash"' do
|
113
97
|
it 'calculates hash code' do
|
114
98
|
instance = Freeclimb::SetTalk.new(
|
115
|
-
call_id: "TS",
|
116
99
|
talk: true,
|
117
100
|
)
|
118
101
|
expect(instance.hash).to be_a_kind_of(Integer)
|
@@ -122,7 +105,6 @@ describe Freeclimb::SetTalk do
|
|
122
105
|
describe 'test method "build_from_hash"' do
|
123
106
|
it 'builds equivalent model from hash code' do
|
124
107
|
instance_1 = Freeclimb::SetTalk.new(
|
125
|
-
call_id: "TS",
|
126
108
|
talk: true,
|
127
109
|
)
|
128
110
|
instance_2 = Freeclimb::SetTalk.new
|
@@ -132,12 +114,8 @@ describe Freeclimb::SetTalk do
|
|
132
114
|
|
133
115
|
describe 'test method "_deserialize"' do
|
134
116
|
instance = Freeclimb::SetTalk.new(
|
135
|
-
call_id: "TS",
|
136
117
|
talk: true,
|
137
118
|
)
|
138
|
-
it 'deserializes the data of call_id' do
|
139
|
-
expect(instance._deserialize("String", instance.call_id)).to be_a_kind_of(String)
|
140
|
-
end
|
141
119
|
it 'deserializes the data of talk' do
|
142
120
|
expect(instance._deserialize("Boolean", instance.talk)).to be_a_kind_of(TrueClass)
|
143
121
|
end
|
@@ -146,7 +124,6 @@ describe Freeclimb::SetTalk do
|
|
146
124
|
describe 'test method "to_s"' do
|
147
125
|
it 'returns the string representation of the object' do
|
148
126
|
instance = Freeclimb::SetTalk.new(
|
149
|
-
call_id: "TS",
|
150
127
|
talk: true,
|
151
128
|
)
|
152
129
|
expect(instance.to_s).to eq(instance.to_hash.to_s)
|
@@ -156,7 +133,6 @@ describe Freeclimb::SetTalk do
|
|
156
133
|
describe 'test method "to_hash"' do
|
157
134
|
it 'returns the object in the form of hash' do
|
158
135
|
instance = Freeclimb::SetTalk.new(
|
159
|
-
call_id: "TS",
|
160
136
|
talk: true,
|
161
137
|
)
|
162
138
|
expect(instance.to_hash).to be_a_kind_of(Hash)
|
@@ -164,11 +140,9 @@ describe Freeclimb::SetTalk do
|
|
164
140
|
it 'creates equal hash for two equal objects' do
|
165
141
|
obj = Object.new()
|
166
142
|
instance_1 = Freeclimb::SetTalk.new(
|
167
|
-
call_id: "TS",
|
168
143
|
talk: true,
|
169
144
|
)
|
170
145
|
instance_2 = Freeclimb::SetTalk.new(
|
171
|
-
call_id: "TS",
|
172
146
|
talk: true,
|
173
147
|
)
|
174
148
|
expect(instance_1.to_hash).to eq(instance_2.to_hash)
|
@@ -177,13 +151,8 @@ describe Freeclimb::SetTalk do
|
|
177
151
|
|
178
152
|
describe 'test method "_to_hash"' do
|
179
153
|
instance = Freeclimb::SetTalk.new(
|
180
|
-
call_id: "TS",
|
181
|
-
|
182
154
|
talk: true,
|
183
155
|
)
|
184
|
-
it 'returns call_id in the form of hash' do
|
185
|
-
expect(instance._to_hash(instance.call_id)).to eq(instance.call_id)
|
186
|
-
end
|
187
156
|
it 'returns talk in the form of hash' do
|
188
157
|
expect(instance._to_hash(instance.talk)).to eq(instance.talk)
|
189
158
|
end
|
@@ -264,6 +264,56 @@ describe Freeclimb::SMSTenDLCCampaign do
|
|
264
264
|
end
|
265
265
|
end
|
266
266
|
|
267
|
+
describe 'test attribute "optin_keywords"' do
|
268
|
+
it 'should assign a value of maxLength' do
|
269
|
+
instance.optin_keywords = "T" * 255
|
270
|
+
expect(instance.optin_keywords).to eq("T" * 255)
|
271
|
+
end
|
272
|
+
it 'should not assign a value over maxLength' do
|
273
|
+
expect{instance.optin_keywords = "T" * (255 + 1)}.to raise_error(ArgumentError)
|
274
|
+
end
|
275
|
+
end
|
276
|
+
|
277
|
+
describe 'test attribute "optout_keywords"' do
|
278
|
+
it 'should assign a value of maxLength' do
|
279
|
+
instance.optout_keywords = "T" * 255
|
280
|
+
expect(instance.optout_keywords).to eq("T" * 255)
|
281
|
+
end
|
282
|
+
it 'should not assign a value over maxLength' do
|
283
|
+
expect{instance.optout_keywords = "T" * (255 + 1)}.to raise_error(ArgumentError)
|
284
|
+
end
|
285
|
+
end
|
286
|
+
|
287
|
+
describe 'test attribute "help_keywords"' do
|
288
|
+
it 'should assign a value of maxLength' do
|
289
|
+
instance.help_keywords = "T" * 255
|
290
|
+
expect(instance.help_keywords).to eq("T" * 255)
|
291
|
+
end
|
292
|
+
it 'should not assign a value over maxLength' do
|
293
|
+
expect{instance.help_keywords = "T" * (255 + 1)}.to raise_error(ArgumentError)
|
294
|
+
end
|
295
|
+
end
|
296
|
+
|
297
|
+
describe 'test attribute "optin_message"' do
|
298
|
+
it 'should assign a value of maxLength' do
|
299
|
+
instance.optin_message = "T" * 255
|
300
|
+
expect(instance.optin_message).to eq("T" * 255)
|
301
|
+
end
|
302
|
+
it 'should not assign a value over maxLength' do
|
303
|
+
expect{instance.optin_message = "T" * (255 + 1)}.to raise_error(ArgumentError)
|
304
|
+
end
|
305
|
+
end
|
306
|
+
|
307
|
+
describe 'test attribute "optout_message"' do
|
308
|
+
it 'should assign a value of maxLength' do
|
309
|
+
instance.optout_message = "T" * 255
|
310
|
+
expect(instance.optout_message).to eq("T" * 255)
|
311
|
+
end
|
312
|
+
it 'should not assign a value over maxLength' do
|
313
|
+
expect{instance.optout_message = "T" * (255 + 1)}.to raise_error(ArgumentError)
|
314
|
+
end
|
315
|
+
end
|
316
|
+
|
267
317
|
describe 'test attribute "reference_id"' do
|
268
318
|
it 'should assign a value of maxLength' do
|
269
319
|
instance.reference_id = "T" * 50
|
@@ -319,6 +369,11 @@ describe Freeclimb::SMSTenDLCCampaign do
|
|
319
369
|
sample5: "TS",
|
320
370
|
message_flow: "TS",
|
321
371
|
help_message: "TS",
|
372
|
+
optin_keywords: "TS",
|
373
|
+
optout_keywords: "TS",
|
374
|
+
help_keywords: "TS",
|
375
|
+
optin_message: "TS",
|
376
|
+
optout_message: "TS",
|
322
377
|
reference_id: "TS",
|
323
378
|
mock: true,
|
324
379
|
next_renewal_or_expiration_date: "2000-01-01",
|
@@ -354,6 +409,11 @@ describe Freeclimb::SMSTenDLCCampaign do
|
|
354
409
|
sample5: "TS",
|
355
410
|
message_flow: "TS",
|
356
411
|
help_message: "TS",
|
412
|
+
optin_keywords: "TS",
|
413
|
+
optout_keywords: "TS",
|
414
|
+
help_keywords: "TS",
|
415
|
+
optin_message: "TS",
|
416
|
+
optout_message: "TS",
|
357
417
|
reference_id: "TS",
|
358
418
|
mock: true,
|
359
419
|
next_renewal_or_expiration_date: "2000-01-01",
|
@@ -390,6 +450,11 @@ describe Freeclimb::SMSTenDLCCampaign do
|
|
390
450
|
sample5: "TS",
|
391
451
|
message_flow: "TS",
|
392
452
|
help_message: "TS",
|
453
|
+
optin_keywords: "TS",
|
454
|
+
optout_keywords: "TS",
|
455
|
+
help_keywords: "TS",
|
456
|
+
optin_message: "TS",
|
457
|
+
optout_message: "TS",
|
393
458
|
reference_id: "TS",
|
394
459
|
mock: true,
|
395
460
|
next_renewal_or_expiration_date: "2000-01-01",
|
@@ -429,6 +494,11 @@ describe Freeclimb::SMSTenDLCCampaign do
|
|
429
494
|
sample5: "TS",
|
430
495
|
message_flow: "TS",
|
431
496
|
help_message: "TS",
|
497
|
+
optin_keywords: "TS",
|
498
|
+
optout_keywords: "TS",
|
499
|
+
help_keywords: "TS",
|
500
|
+
optin_message: "TS",
|
501
|
+
optout_message: "TS",
|
432
502
|
reference_id: "TS",
|
433
503
|
mock: true,
|
434
504
|
next_renewal_or_expiration_date: "2000-01-01",
|
@@ -471,6 +541,11 @@ describe Freeclimb::SMSTenDLCCampaign do
|
|
471
541
|
sample5: "TS",
|
472
542
|
message_flow: "TS",
|
473
543
|
help_message: "TS",
|
544
|
+
optin_keywords: "TS",
|
545
|
+
optout_keywords: "TS",
|
546
|
+
help_keywords: "TS",
|
547
|
+
optin_message: "TS",
|
548
|
+
optout_message: "TS",
|
474
549
|
reference_id: "TS",
|
475
550
|
mock: true,
|
476
551
|
)
|
@@ -501,6 +576,11 @@ describe Freeclimb::SMSTenDLCCampaign do
|
|
501
576
|
sample5: "TS",
|
502
577
|
message_flow: "TS",
|
503
578
|
help_message: "TS",
|
579
|
+
optin_keywords: "TS",
|
580
|
+
optout_keywords: "TS",
|
581
|
+
help_keywords: "TS",
|
582
|
+
optin_message: "TS",
|
583
|
+
optout_message: "TS",
|
504
584
|
reference_id: "TS",
|
505
585
|
mock: true,
|
506
586
|
)
|
@@ -534,6 +614,11 @@ describe Freeclimb::SMSTenDLCCampaign do
|
|
534
614
|
sample5: "TS",
|
535
615
|
message_flow: "TS",
|
536
616
|
help_message: "TS",
|
617
|
+
optin_keywords: "TS",
|
618
|
+
optout_keywords: "TS",
|
619
|
+
help_keywords: "TS",
|
620
|
+
optin_message: "TS",
|
621
|
+
optout_message: "TS",
|
537
622
|
reference_id: "TS",
|
538
623
|
mock: true,
|
539
624
|
)
|
@@ -564,6 +649,11 @@ describe Freeclimb::SMSTenDLCCampaign do
|
|
564
649
|
sample5: "ST",
|
565
650
|
message_flow: "ST",
|
566
651
|
help_message: "ST",
|
652
|
+
optin_keywords: "ST",
|
653
|
+
optout_keywords: "ST",
|
654
|
+
help_keywords: "ST",
|
655
|
+
optin_message: "ST",
|
656
|
+
optout_message: "ST",
|
567
657
|
reference_id: "ST",
|
568
658
|
mock: false,
|
569
659
|
)
|
@@ -602,6 +692,11 @@ describe Freeclimb::SMSTenDLCCampaign do
|
|
602
692
|
sample5: "TS",
|
603
693
|
message_flow: "TS",
|
604
694
|
help_message: "TS",
|
695
|
+
optin_keywords: "TS",
|
696
|
+
optout_keywords: "TS",
|
697
|
+
help_keywords: "TS",
|
698
|
+
optin_message: "TS",
|
699
|
+
optout_message: "TS",
|
605
700
|
reference_id: "TS",
|
606
701
|
mock: true,
|
607
702
|
next_renewal_or_expiration_date: "2000-01-01",
|
@@ -641,6 +736,11 @@ describe Freeclimb::SMSTenDLCCampaign do
|
|
641
736
|
sample5: "TS",
|
642
737
|
message_flow: "TS",
|
643
738
|
help_message: "TS",
|
739
|
+
optin_keywords: "TS",
|
740
|
+
optout_keywords: "TS",
|
741
|
+
help_keywords: "TS",
|
742
|
+
optin_message: "TS",
|
743
|
+
optout_message: "TS",
|
644
744
|
reference_id: "TS",
|
645
745
|
mock: true,
|
646
746
|
next_renewal_or_expiration_date: "2000-01-01",
|
@@ -680,6 +780,11 @@ describe Freeclimb::SMSTenDLCCampaign do
|
|
680
780
|
sample5: "TS",
|
681
781
|
message_flow: "TS",
|
682
782
|
help_message: "TS",
|
783
|
+
optin_keywords: "TS",
|
784
|
+
optout_keywords: "TS",
|
785
|
+
help_keywords: "TS",
|
786
|
+
optin_message: "TS",
|
787
|
+
optout_message: "TS",
|
683
788
|
reference_id: "TS",
|
684
789
|
mock: true,
|
685
790
|
next_renewal_or_expiration_date: "2000-01-01",
|
@@ -768,6 +873,21 @@ describe Freeclimb::SMSTenDLCCampaign do
|
|
768
873
|
it 'deserializes the data of help_message' do
|
769
874
|
expect(instance._deserialize("String", instance.help_message)).to be_a_kind_of(String)
|
770
875
|
end
|
876
|
+
it 'deserializes the data of optin_keywords' do
|
877
|
+
expect(instance._deserialize("String", instance.optin_keywords)).to be_a_kind_of(String)
|
878
|
+
end
|
879
|
+
it 'deserializes the data of optout_keywords' do
|
880
|
+
expect(instance._deserialize("String", instance.optout_keywords)).to be_a_kind_of(String)
|
881
|
+
end
|
882
|
+
it 'deserializes the data of help_keywords' do
|
883
|
+
expect(instance._deserialize("String", instance.help_keywords)).to be_a_kind_of(String)
|
884
|
+
end
|
885
|
+
it 'deserializes the data of optin_message' do
|
886
|
+
expect(instance._deserialize("String", instance.optin_message)).to be_a_kind_of(String)
|
887
|
+
end
|
888
|
+
it 'deserializes the data of optout_message' do
|
889
|
+
expect(instance._deserialize("String", instance.optout_message)).to be_a_kind_of(String)
|
890
|
+
end
|
771
891
|
it 'deserializes the data of reference_id' do
|
772
892
|
expect(instance._deserialize("String", instance.reference_id)).to be_a_kind_of(String)
|
773
893
|
end
|
@@ -810,6 +930,11 @@ describe Freeclimb::SMSTenDLCCampaign do
|
|
810
930
|
sample5: "TS",
|
811
931
|
message_flow: "TS",
|
812
932
|
help_message: "TS",
|
933
|
+
optin_keywords: "TS",
|
934
|
+
optout_keywords: "TS",
|
935
|
+
help_keywords: "TS",
|
936
|
+
optin_message: "TS",
|
937
|
+
optout_message: "TS",
|
813
938
|
reference_id: "TS",
|
814
939
|
mock: true,
|
815
940
|
next_renewal_or_expiration_date: "2000-01-01",
|
@@ -849,6 +974,11 @@ describe Freeclimb::SMSTenDLCCampaign do
|
|
849
974
|
sample5: "TS",
|
850
975
|
message_flow: "TS",
|
851
976
|
help_message: "TS",
|
977
|
+
optin_keywords: "TS",
|
978
|
+
optout_keywords: "TS",
|
979
|
+
help_keywords: "TS",
|
980
|
+
optin_message: "TS",
|
981
|
+
optout_message: "TS",
|
852
982
|
reference_id: "TS",
|
853
983
|
mock: true,
|
854
984
|
next_renewal_or_expiration_date: "2000-01-01",
|
@@ -886,6 +1016,11 @@ describe Freeclimb::SMSTenDLCCampaign do
|
|
886
1016
|
sample5: "TS",
|
887
1017
|
message_flow: "TS",
|
888
1018
|
help_message: "TS",
|
1019
|
+
optin_keywords: "TS",
|
1020
|
+
optout_keywords: "TS",
|
1021
|
+
help_keywords: "TS",
|
1022
|
+
optin_message: "TS",
|
1023
|
+
optout_message: "TS",
|
889
1024
|
reference_id: "TS",
|
890
1025
|
mock: true,
|
891
1026
|
next_renewal_or_expiration_date: "2000-01-01",
|
@@ -919,6 +1054,11 @@ describe Freeclimb::SMSTenDLCCampaign do
|
|
919
1054
|
sample5: "TS",
|
920
1055
|
message_flow: "TS",
|
921
1056
|
help_message: "TS",
|
1057
|
+
optin_keywords: "TS",
|
1058
|
+
optout_keywords: "TS",
|
1059
|
+
help_keywords: "TS",
|
1060
|
+
optin_message: "TS",
|
1061
|
+
optout_message: "TS",
|
922
1062
|
reference_id: "TS",
|
923
1063
|
mock: true,
|
924
1064
|
next_renewal_or_expiration_date: "2000-01-01",
|
@@ -985,6 +1125,16 @@ describe Freeclimb::SMSTenDLCCampaign do
|
|
985
1125
|
|
986
1126
|
help_message: "TS",
|
987
1127
|
|
1128
|
+
optin_keywords: "TS",
|
1129
|
+
|
1130
|
+
optout_keywords: "TS",
|
1131
|
+
|
1132
|
+
help_keywords: "TS",
|
1133
|
+
|
1134
|
+
optin_message: "TS",
|
1135
|
+
|
1136
|
+
optout_message: "TS",
|
1137
|
+
|
988
1138
|
reference_id: "TS",
|
989
1139
|
|
990
1140
|
mock: true,
|
@@ -1075,6 +1225,21 @@ describe Freeclimb::SMSTenDLCCampaign do
|
|
1075
1225
|
it 'returns help_message in the form of hash' do
|
1076
1226
|
expect(instance._to_hash(instance.help_message)).to eq(instance.help_message)
|
1077
1227
|
end
|
1228
|
+
it 'returns optin_keywords in the form of hash' do
|
1229
|
+
expect(instance._to_hash(instance.optin_keywords)).to eq(instance.optin_keywords)
|
1230
|
+
end
|
1231
|
+
it 'returns optout_keywords in the form of hash' do
|
1232
|
+
expect(instance._to_hash(instance.optout_keywords)).to eq(instance.optout_keywords)
|
1233
|
+
end
|
1234
|
+
it 'returns help_keywords in the form of hash' do
|
1235
|
+
expect(instance._to_hash(instance.help_keywords)).to eq(instance.help_keywords)
|
1236
|
+
end
|
1237
|
+
it 'returns optin_message in the form of hash' do
|
1238
|
+
expect(instance._to_hash(instance.optin_message)).to eq(instance.optin_message)
|
1239
|
+
end
|
1240
|
+
it 'returns optout_message in the form of hash' do
|
1241
|
+
expect(instance._to_hash(instance.optout_message)).to eq(instance.optout_message)
|
1242
|
+
end
|
1078
1243
|
it 'returns reference_id in the form of hash' do
|
1079
1244
|
expect(instance._to_hash(instance.reference_id)).to eq(instance.reference_id)
|
1080
1245
|
end
|