bombbomb 2.0.831 → 2.0.20679
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +13 -5
- data/README.md +31 -147
- data/Rakefile +3 -8
- data/bombbomb.gemspec +17 -8
- data/docs/InlineResponse200.md +1 -1
- data/docs/JerichoConfiguration.md +1 -7
- data/docs/JerichoPerformance.md +0 -4
- data/docs/PromptsApi.md +6 -712
- data/docs/TeamsApi.md +62 -1144
- data/docs/UtilitiesApi.md +4 -4
- data/docs/VideoEmailPrompt.md +10 -24
- data/docs/WebhooksApi.md +4 -45
- data/git_push.sh +13 -1
- data/lib/bombbomb.rb +14 -30
- data/lib/bombbomb/api/prompts_api.rb +42 -833
- data/lib/bombbomb/api/teams_api.rb +157 -1331
- data/lib/bombbomb/api/utilities_api.rb +44 -23
- data/lib/bombbomb/api/webhooks_api.rb +43 -68
- data/lib/bombbomb/api_client.rb +45 -55
- data/lib/bombbomb/api_error.rb +18 -9
- data/lib/bombbomb/configuration.rb +13 -8
- data/lib/bombbomb/models/bb_web_hook.rb +17 -6
- data/lib/bombbomb/models/inline_response_200.rb +18 -7
- data/lib/bombbomb/models/inline_response_200_items.rb +1 -1
- data/lib/bombbomb/models/jericho_configuration.rb +22 -75
- data/lib/bombbomb/models/jericho_performance.rb +21 -50
- data/lib/bombbomb/models/o_auth_client.rb +17 -6
- data/lib/bombbomb/models/string.rb +17 -6
- data/lib/bombbomb/models/video_email_prompt.rb +90 -214
- data/lib/bombbomb/version.rb +14 -3
- data/spec/models/{team_public_representation_spec.rb → inline_response_200_items_spec.rb} +14 -8
- metadata +56 -168
- data/Gemfile +0 -7
- data/docs/AccountsApi.md +0 -384
- data/docs/AutomationsApi.md +0 -167
- data/docs/ClientGroupAssetMetaData.md +0 -11
- data/docs/ContactsApi.md +0 -436
- data/docs/Curriculum.md +0 -15
- data/docs/CurriculumApi.md +0 -109
- data/docs/CurriculumUserProgress.md +0 -12
- data/docs/CurriculumWithProgress.md +0 -15
- data/docs/EmailsApi.md +0 -633
- data/docs/FilesApi.md +0 -272
- data/docs/FormsApi.md +0 -60
- data/docs/HostedDoc.md +0 -13
- data/docs/IntegrationsApi.md +0 -285
- data/docs/ListsApi.md +0 -265
- data/docs/OrdersApi.md +0 -60
- data/docs/PromptBot.md +0 -22
- data/docs/PromptBotBot.md +0 -18
- data/docs/PromptMonthlyPerformance.md +0 -11
- data/docs/PromptOverview.md +0 -11
- data/docs/PromptSocialPrompt.md +0 -20
- data/docs/SignUploadRequest.md +0 -9
- data/docs/SignUploadResponse.md +0 -9
- data/docs/SocialsApi.md +0 -653
- data/docs/TeamPublicRepresentation.md +0 -10
- data/docs/UsersApi.md +0 -100
- data/docs/VideoEncodingStatusResponse.md +0 -10
- data/docs/VideoPublicRepresentation.md +0 -18
- data/docs/VideoRecorderMethodResponse.md +0 -15
- data/docs/VideosApi.md +0 -287
- data/lib/bombbomb/api/accounts_api.rb +0 -432
- data/lib/bombbomb/api/automations_api.rb +0 -191
- data/lib/bombbomb/api/contacts_api.rb +0 -470
- data/lib/bombbomb/api/curriculum_api.rb +0 -124
- data/lib/bombbomb/api/emails_api.rb +0 -673
- data/lib/bombbomb/api/files_api.rb +0 -302
- data/lib/bombbomb/api/forms_api.rb +0 -77
- data/lib/bombbomb/api/integrations_api.rb +0 -308
- data/lib/bombbomb/api/lists_api.rb +0 -295
- data/lib/bombbomb/api/orders_api.rb +0 -78
- data/lib/bombbomb/api/socials_api.rb +0 -714
- data/lib/bombbomb/api/users_api.rb +0 -119
- data/lib/bombbomb/api/videos_api.rb +0 -326
- data/lib/bombbomb/models/client_group_asset_meta_data.rb +0 -215
- data/lib/bombbomb/models/curriculum.rb +0 -261
- data/lib/bombbomb/models/curriculum_user_progress.rb +0 -229
- data/lib/bombbomb/models/curriculum_with_progress.rb +0 -261
- data/lib/bombbomb/models/hosted_doc.rb +0 -239
- data/lib/bombbomb/models/prompt_bot.rb +0 -329
- data/lib/bombbomb/models/prompt_bot_bot.rb +0 -300
- data/lib/bombbomb/models/prompt_monthly_performance.rb +0 -219
- data/lib/bombbomb/models/prompt_overview.rb +0 -219
- data/lib/bombbomb/models/prompt_social_prompt.rb +0 -311
- data/lib/bombbomb/models/sign_upload_request.rb +0 -199
- data/lib/bombbomb/models/sign_upload_response.rb +0 -199
- data/lib/bombbomb/models/team_public_representation.rb +0 -209
- data/lib/bombbomb/models/video_encoding_status_response.rb +0 -209
- data/lib/bombbomb/models/video_public_representation.rb +0 -291
- data/lib/bombbomb/models/video_recorder_method_response.rb +0 -259
- data/spec/api/accounts_api_spec.rb +0 -96
- data/spec/api/automations_api_spec.rb +0 -71
- data/spec/api/contacts_api_spec.rb +0 -58
- data/spec/api/curriculum_api_spec.rb +0 -69
- data/spec/api/emails_api_spec.rb +0 -104
- data/spec/api/files_api_spec.rb +0 -58
- data/spec/api/forms_api_spec.rb +0 -58
- data/spec/api/integrations_api_spec.rb +0 -58
- data/spec/api/lists_api_spec.rb +0 -83
- data/spec/api/orders_api_spec.rb +0 -58
- data/spec/api/socials_api_spec.rb +0 -135
- data/spec/api/users_api_spec.rb +0 -57
- data/spec/api/videos_api_spec.rb +0 -86
- data/spec/models/client_group_asset_meta_data_spec.rb +0 -60
- data/spec/models/curriculum_spec.rb +0 -95
- data/spec/models/curriculum_user_progress_spec.rb +0 -77
- data/spec/models/curriculum_with_progress_spec.rb +0 -95
- data/spec/models/hosted_doc_spec.rb +0 -83
- data/spec/models/prompt_bot_spec.rb +0 -137
- data/spec/models/prompt_monthly_performance_spec.rb +0 -60
- data/spec/models/prompt_overview_spec.rb +0 -60
- data/spec/models/prompt_social_prompt_spec.rb +0 -125
- data/spec/models/sign_upload_request_spec.rb +0 -59
- data/spec/models/sign_upload_response_spec.rb +0 -59
- data/spec/models/video_encoding_status_response_spec.rb +0 -65
- data/spec/models/video_public_representation_spec.rb +0 -113
- data/spec/models/video_recorder_method_response_spec.rb +0 -95
@@ -1,69 +0,0 @@
|
|
1
|
-
=begin
|
2
|
-
#BombBomb
|
3
|
-
|
4
|
-
#We make it easy to build relationships using simple videos.
|
5
|
-
|
6
|
-
OpenAPI spec version: 2.0.21432
|
7
|
-
|
8
|
-
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
-
|
10
|
-
Licensed under the Apache License, Version 2.0 (the "License");
|
11
|
-
you may not use this file except in compliance with the License.
|
12
|
-
You may obtain a copy of the License at
|
13
|
-
|
14
|
-
http://www.apache.org/licenses/LICENSE-2.0
|
15
|
-
|
16
|
-
Unless required by applicable law or agreed to in writing, software
|
17
|
-
distributed under the License is distributed on an "AS IS" BASIS,
|
18
|
-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
19
|
-
See the License for the specific language governing permissions and
|
20
|
-
limitations under the License.
|
21
|
-
|
22
|
-
=end
|
23
|
-
|
24
|
-
require 'spec_helper'
|
25
|
-
require 'json'
|
26
|
-
|
27
|
-
# Unit tests for BombBomb::CurriculumApi
|
28
|
-
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
29
|
-
# Please update as you see appropriate
|
30
|
-
describe 'CurriculumApi' do
|
31
|
-
before do
|
32
|
-
# run before each test
|
33
|
-
@instance = BombBomb::CurriculumApi.new
|
34
|
-
end
|
35
|
-
|
36
|
-
after do
|
37
|
-
# run after each test
|
38
|
-
end
|
39
|
-
|
40
|
-
describe 'test an instance of CurriculumApi' do
|
41
|
-
it 'should create an instact of CurriculumApi' do
|
42
|
-
expect(@instance).to be_instance_of(BombBomb::CurriculumApi)
|
43
|
-
end
|
44
|
-
end
|
45
|
-
|
46
|
-
# unit tests for get_curricula
|
47
|
-
# Get Curricula
|
48
|
-
# Get Curricula, optionally with progress included.
|
49
|
-
# @param [Hash] opts the optional parameters
|
50
|
-
# @option opts [BOOLEAN] :include_progress Whether to return progress with the curriculum.
|
51
|
-
# @return [Array<Curriculum>]
|
52
|
-
describe 'get_curricula test' do
|
53
|
-
it "should work" do
|
54
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
55
|
-
end
|
56
|
-
end
|
57
|
-
|
58
|
-
# unit tests for get_user_curriculum_with_progress
|
59
|
-
# Get Detailed For User
|
60
|
-
# Get all curricula for user including progress for each curriculum.
|
61
|
-
# @param [Hash] opts the optional parameters
|
62
|
-
# @return [Array<CurriculumWithProgress>]
|
63
|
-
describe 'get_user_curriculum_with_progress test' do
|
64
|
-
it "should work" do
|
65
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
66
|
-
end
|
67
|
-
end
|
68
|
-
|
69
|
-
end
|
data/spec/api/emails_api_spec.rb
DELETED
@@ -1,104 +0,0 @@
|
|
1
|
-
=begin
|
2
|
-
#BombBomb
|
3
|
-
|
4
|
-
#We make it easy to build relationships using simple videos.
|
5
|
-
|
6
|
-
OpenAPI spec version: 2.0.22196
|
7
|
-
|
8
|
-
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
-
|
10
|
-
Licensed under the Apache License, Version 2.0 (the "License");
|
11
|
-
you may not use this file except in compliance with the License.
|
12
|
-
You may obtain a copy of the License at
|
13
|
-
|
14
|
-
http://www.apache.org/licenses/LICENSE-2.0
|
15
|
-
|
16
|
-
Unless required by applicable law or agreed to in writing, software
|
17
|
-
distributed under the License is distributed on an "AS IS" BASIS,
|
18
|
-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
19
|
-
See the License for the specific language governing permissions and
|
20
|
-
limitations under the License.
|
21
|
-
|
22
|
-
=end
|
23
|
-
|
24
|
-
require 'spec_helper'
|
25
|
-
require 'json'
|
26
|
-
|
27
|
-
# Unit tests for BombBomb::EmailsApi
|
28
|
-
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
29
|
-
# Please update as you see appropriate
|
30
|
-
describe 'EmailsApi' do
|
31
|
-
before do
|
32
|
-
# run before each test
|
33
|
-
@instance = BombBomb::EmailsApi.new
|
34
|
-
end
|
35
|
-
|
36
|
-
after do
|
37
|
-
# run after each test
|
38
|
-
end
|
39
|
-
|
40
|
-
describe 'test an instance of EmailsApi' do
|
41
|
-
it 'should create an instact of EmailsApi' do
|
42
|
-
expect(@instance).to be_instance_of(BombBomb::EmailsApi)
|
43
|
-
end
|
44
|
-
end
|
45
|
-
|
46
|
-
# unit tests for create_printing_press_email
|
47
|
-
# Create an Email with Printing Press
|
48
|
-
# Prints an email using the template id and content to the users account.If a video id, is include it will replace any video placeholders with that video.
|
49
|
-
# @param template_id The template id to be printed.
|
50
|
-
# @param content The content of the email.
|
51
|
-
# @param replace Set whether to replace video placeholders with video id.
|
52
|
-
# @param [Hash] opts the optional parameters
|
53
|
-
# @option opts [String] :video_id A video to replace video place holders with.
|
54
|
-
# @option opts [String] :subject_line The subject line to be printed.
|
55
|
-
# @return [nil]
|
56
|
-
describe 'create_printing_press_email test' do
|
57
|
-
it "should work" do
|
58
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
59
|
-
end
|
60
|
-
end
|
61
|
-
|
62
|
-
# unit tests for get_email_tracking
|
63
|
-
# Get Email Tracking
|
64
|
-
# Get Tracking data for all sends of an Email
|
65
|
-
# @param email_id ID of the email
|
66
|
-
# @param [Hash] opts the optional parameters
|
67
|
-
# @option opts [String] :job_id ID of the Job (or null for all jobs)
|
68
|
-
# @return [nil]
|
69
|
-
describe 'get_email_tracking test' do
|
70
|
-
it "should work" do
|
71
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
72
|
-
end
|
73
|
-
end
|
74
|
-
|
75
|
-
# unit tests for get_email_tracking_interactions
|
76
|
-
# Get Email Tracking Interactions
|
77
|
-
# Get Contact detail interactions for an Email
|
78
|
-
# @param email_id ID of the email
|
79
|
-
# @param [Hash] opts the optional parameters
|
80
|
-
# @option opts [String] :job_id ID of the Job (or null for all jobs)
|
81
|
-
# @option opts [String] :interaction_type Interaction type to order and filter by
|
82
|
-
# @option opts [String] :search_term Search term to filer by
|
83
|
-
# @return [nil]
|
84
|
-
describe 'get_email_tracking_interactions test' do
|
85
|
-
it "should work" do
|
86
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
87
|
-
end
|
88
|
-
end
|
89
|
-
|
90
|
-
# unit tests for get_hourly_email_tracking
|
91
|
-
# Get Hourly Email Tracking
|
92
|
-
# Get Tracking data for an Email, broken down by the hour and filterable by an Interaction type
|
93
|
-
# @param email_id ID of the email
|
94
|
-
# @param [Hash] opts the optional parameters
|
95
|
-
# @option opts [String] :job_id ID of the Job (or null for all jobs)
|
96
|
-
# @option opts [String] :interaction_type Interaction type to filter by
|
97
|
-
# @return [nil]
|
98
|
-
describe 'get_hourly_email_tracking test' do
|
99
|
-
it "should work" do
|
100
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
101
|
-
end
|
102
|
-
end
|
103
|
-
|
104
|
-
end
|
data/spec/api/files_api_spec.rb
DELETED
@@ -1,58 +0,0 @@
|
|
1
|
-
=begin
|
2
|
-
#BombBomb
|
3
|
-
|
4
|
-
#We make it easy to build relationships using simple videos.
|
5
|
-
|
6
|
-
OpenAPI spec version: 2.0.24005
|
7
|
-
|
8
|
-
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
-
|
10
|
-
Licensed under the Apache License, Version 2.0 (the "License");
|
11
|
-
you may not use this file except in compliance with the License.
|
12
|
-
You may obtain a copy of the License at
|
13
|
-
|
14
|
-
http://www.apache.org/licenses/LICENSE-2.0
|
15
|
-
|
16
|
-
Unless required by applicable law or agreed to in writing, software
|
17
|
-
distributed under the License is distributed on an "AS IS" BASIS,
|
18
|
-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
19
|
-
See the License for the specific language governing permissions and
|
20
|
-
limitations under the License.
|
21
|
-
|
22
|
-
=end
|
23
|
-
|
24
|
-
require 'spec_helper'
|
25
|
-
require 'json'
|
26
|
-
|
27
|
-
# Unit tests for BombBomb::FilesApi
|
28
|
-
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
29
|
-
# Please update as you see appropriate
|
30
|
-
describe 'FilesApi' do
|
31
|
-
before do
|
32
|
-
# run before each test
|
33
|
-
@instance = BombBomb::FilesApi.new
|
34
|
-
end
|
35
|
-
|
36
|
-
after do
|
37
|
-
# run after each test
|
38
|
-
end
|
39
|
-
|
40
|
-
describe 'test an instance of FilesApi' do
|
41
|
-
it 'should create an instact of FilesApi' do
|
42
|
-
expect(@instance).to be_instance_of(BombBomb::FilesApi)
|
43
|
-
end
|
44
|
-
end
|
45
|
-
|
46
|
-
# unit tests for doc_host_delete
|
47
|
-
# Deletes users file
|
48
|
-
# Deletes the file from the users s3 store
|
49
|
-
# @param doc_id Id of document
|
50
|
-
# @param [Hash] opts the optional parameters
|
51
|
-
# @return [nil]
|
52
|
-
describe 'doc_host_delete test' do
|
53
|
-
it "should work" do
|
54
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
55
|
-
end
|
56
|
-
end
|
57
|
-
|
58
|
-
end
|
data/spec/api/forms_api_spec.rb
DELETED
@@ -1,58 +0,0 @@
|
|
1
|
-
=begin
|
2
|
-
#BombBomb
|
3
|
-
|
4
|
-
#We make it easy to build relationships using simple videos.
|
5
|
-
|
6
|
-
OpenAPI spec version: 2.0.0
|
7
|
-
|
8
|
-
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
-
|
10
|
-
Licensed under the Apache License, Version 2.0 (the "License");
|
11
|
-
you may not use this file except in compliance with the License.
|
12
|
-
You may obtain a copy of the License at
|
13
|
-
|
14
|
-
http://www.apache.org/licenses/LICENSE-2.0
|
15
|
-
|
16
|
-
Unless required by applicable law or agreed to in writing, software
|
17
|
-
distributed under the License is distributed on an "AS IS" BASIS,
|
18
|
-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
19
|
-
See the License for the specific language governing permissions and
|
20
|
-
limitations under the License.
|
21
|
-
|
22
|
-
=end
|
23
|
-
|
24
|
-
require 'spec_helper'
|
25
|
-
require 'json'
|
26
|
-
|
27
|
-
# Unit tests for BombBomb::FormsApi
|
28
|
-
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
29
|
-
# Please update as you see appropriate
|
30
|
-
describe 'FormsApi' do
|
31
|
-
before do
|
32
|
-
# run before each test
|
33
|
-
@instance = BombBomb::FormsApi.new
|
34
|
-
end
|
35
|
-
|
36
|
-
after do
|
37
|
-
# run after each test
|
38
|
-
end
|
39
|
-
|
40
|
-
describe 'test an instance of FormsApi' do
|
41
|
-
it 'should create an instact of FormsApi' do
|
42
|
-
expect(@instance).to be_instance_of(BombBomb::FormsApi)
|
43
|
-
end
|
44
|
-
end
|
45
|
-
|
46
|
-
# unit tests for get_form_tracking_as_csv
|
47
|
-
# Get csv
|
48
|
-
# Get form tracking as csv
|
49
|
-
# @param id Id of the form
|
50
|
-
# @param [Hash] opts the optional parameters
|
51
|
-
# @return [nil]
|
52
|
-
describe 'get_form_tracking_as_csv test' do
|
53
|
-
it "should work" do
|
54
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
55
|
-
end
|
56
|
-
end
|
57
|
-
|
58
|
-
end
|
@@ -1,58 +0,0 @@
|
|
1
|
-
=begin
|
2
|
-
#BombBomb
|
3
|
-
|
4
|
-
#We make it easy to build relationships using simple videos.
|
5
|
-
|
6
|
-
OpenAPI spec version: 2.0.25797
|
7
|
-
|
8
|
-
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
-
|
10
|
-
Licensed under the Apache License, Version 2.0 (the "License");
|
11
|
-
you may not use this file except in compliance with the License.
|
12
|
-
You may obtain a copy of the License at
|
13
|
-
|
14
|
-
http://www.apache.org/licenses/LICENSE-2.0
|
15
|
-
|
16
|
-
Unless required by applicable law or agreed to in writing, software
|
17
|
-
distributed under the License is distributed on an "AS IS" BASIS,
|
18
|
-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
19
|
-
See the License for the specific language governing permissions and
|
20
|
-
limitations under the License.
|
21
|
-
|
22
|
-
=end
|
23
|
-
|
24
|
-
require 'spec_helper'
|
25
|
-
require 'json'
|
26
|
-
|
27
|
-
# Unit tests for BombBomb::IntegrationsApi
|
28
|
-
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
29
|
-
# Please update as you see appropriate
|
30
|
-
describe 'IntegrationsApi' do
|
31
|
-
before do
|
32
|
-
# run before each test
|
33
|
-
@instance = BombBomb::IntegrationsApi.new
|
34
|
-
end
|
35
|
-
|
36
|
-
after do
|
37
|
-
# run after each test
|
38
|
-
end
|
39
|
-
|
40
|
-
describe 'test an instance of IntegrationsApi' do
|
41
|
-
it 'should create an instact of IntegrationsApi' do
|
42
|
-
expect(@instance).to be_instance_of(BombBomb::IntegrationsApi)
|
43
|
-
end
|
44
|
-
end
|
45
|
-
|
46
|
-
# unit tests for sync_users_integrated_lists
|
47
|
-
# Synchronize your integration list or lists.
|
48
|
-
# Synchronize your integration contact list with the service you are integrated with. If no integration code is provided, all integrations will be synchronized.
|
49
|
-
# @param [Hash] opts the optional parameters
|
50
|
-
# @option opts [String] :integration_id The integration to sync lists for. All integrations will sync if nothing is provided.
|
51
|
-
# @return [String]
|
52
|
-
describe 'sync_users_integrated_lists test' do
|
53
|
-
it "should work" do
|
54
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
55
|
-
end
|
56
|
-
end
|
57
|
-
|
58
|
-
end
|
data/spec/api/lists_api_spec.rb
DELETED
@@ -1,83 +0,0 @@
|
|
1
|
-
=begin
|
2
|
-
#BombBomb
|
3
|
-
|
4
|
-
#We make it easy to build relationships using simple videos.
|
5
|
-
|
6
|
-
OpenAPI spec version: 2.0.24005
|
7
|
-
|
8
|
-
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
-
|
10
|
-
Licensed under the Apache License, Version 2.0 (the "License");
|
11
|
-
you may not use this file except in compliance with the License.
|
12
|
-
You may obtain a copy of the License at
|
13
|
-
|
14
|
-
http://www.apache.org/licenses/LICENSE-2.0
|
15
|
-
|
16
|
-
Unless required by applicable law or agreed to in writing, software
|
17
|
-
distributed under the License is distributed on an "AS IS" BASIS,
|
18
|
-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
19
|
-
See the License for the specific language governing permissions and
|
20
|
-
limitations under the License.
|
21
|
-
|
22
|
-
=end
|
23
|
-
|
24
|
-
require 'spec_helper'
|
25
|
-
require 'json'
|
26
|
-
|
27
|
-
# Unit tests for BombBomb::ListsApi
|
28
|
-
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
29
|
-
# Please update as you see appropriate
|
30
|
-
describe 'ListsApi' do
|
31
|
-
before do
|
32
|
-
# run before each test
|
33
|
-
@instance = BombBomb::ListsApi.new
|
34
|
-
end
|
35
|
-
|
36
|
-
after do
|
37
|
-
# run after each test
|
38
|
-
end
|
39
|
-
|
40
|
-
describe 'test an instance of ListsApi' do
|
41
|
-
it 'should create an instact of ListsApi' do
|
42
|
-
expect(@instance).to be_instance_of(BombBomb::ListsApi)
|
43
|
-
end
|
44
|
-
end
|
45
|
-
|
46
|
-
# unit tests for clear_list
|
47
|
-
# Clear Contacts from List
|
48
|
-
# Clears all contacts from a list.
|
49
|
-
# @param list_id The list to be cleared.
|
50
|
-
# @param [Hash] opts the optional parameters
|
51
|
-
# @return [nil]
|
52
|
-
describe 'clear_list test' do
|
53
|
-
it "should work" do
|
54
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
55
|
-
end
|
56
|
-
end
|
57
|
-
|
58
|
-
# unit tests for copy_list_contacts
|
59
|
-
# Copy All Contacts from a List
|
60
|
-
# Copy all contacts from a list.
|
61
|
-
# @param from_list_id The list to be cleared.
|
62
|
-
# @param list_id The list to be cleared.
|
63
|
-
# @param [Hash] opts the optional parameters
|
64
|
-
# @return [nil]
|
65
|
-
describe 'copy_list_contacts test' do
|
66
|
-
it "should work" do
|
67
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
68
|
-
end
|
69
|
-
end
|
70
|
-
|
71
|
-
# unit tests for suppress_all_in_list
|
72
|
-
# Suppress All Contacts from List
|
73
|
-
# Suppresses all contacts in a list.
|
74
|
-
# @param list_id The list to be cleared.
|
75
|
-
# @param [Hash] opts the optional parameters
|
76
|
-
# @return [nil]
|
77
|
-
describe 'suppress_all_in_list test' do
|
78
|
-
it "should work" do
|
79
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
80
|
-
end
|
81
|
-
end
|
82
|
-
|
83
|
-
end
|
data/spec/api/orders_api_spec.rb
DELETED
@@ -1,58 +0,0 @@
|
|
1
|
-
=begin
|
2
|
-
#BombBomb
|
3
|
-
|
4
|
-
#We make it easy to build relationships using simple videos.
|
5
|
-
|
6
|
-
OpenAPI spec version: 2.0.24005
|
7
|
-
|
8
|
-
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
-
|
10
|
-
Licensed under the Apache License, Version 2.0 (the "License");
|
11
|
-
you may not use this file except in compliance with the License.
|
12
|
-
You may obtain a copy of the License at
|
13
|
-
|
14
|
-
http://www.apache.org/licenses/LICENSE-2.0
|
15
|
-
|
16
|
-
Unless required by applicable law or agreed to in writing, software
|
17
|
-
distributed under the License is distributed on an "AS IS" BASIS,
|
18
|
-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
19
|
-
See the License for the specific language governing permissions and
|
20
|
-
limitations under the License.
|
21
|
-
|
22
|
-
=end
|
23
|
-
|
24
|
-
require 'spec_helper'
|
25
|
-
require 'json'
|
26
|
-
|
27
|
-
# Unit tests for BombBomb::OrdersApi
|
28
|
-
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
29
|
-
# Please update as you see appropriate
|
30
|
-
describe 'OrdersApi' do
|
31
|
-
before do
|
32
|
-
# run before each test
|
33
|
-
@instance = BombBomb::OrdersApi.new
|
34
|
-
end
|
35
|
-
|
36
|
-
after do
|
37
|
-
# run after each test
|
38
|
-
end
|
39
|
-
|
40
|
-
describe 'test an instance of OrdersApi' do
|
41
|
-
it 'should create an instact of OrdersApi' do
|
42
|
-
expect(@instance).to be_instance_of(BombBomb::OrdersApi)
|
43
|
-
end
|
44
|
-
end
|
45
|
-
|
46
|
-
# unit tests for template_asset_delete
|
47
|
-
# Deletes image from user s3 store
|
48
|
-
# Deletes image from user s3 store
|
49
|
-
# @param file_name Filename for deletion
|
50
|
-
# @param [Hash] opts the optional parameters
|
51
|
-
# @return [nil]
|
52
|
-
describe 'template_asset_delete test' do
|
53
|
-
it "should work" do
|
54
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
55
|
-
end
|
56
|
-
end
|
57
|
-
|
58
|
-
end
|