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,259 +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.831
|
7
|
-
|
8
|
-
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
-
Swagger Codegen version: 2.3.1
|
10
|
-
|
11
|
-
=end
|
12
|
-
|
13
|
-
require 'date'
|
14
|
-
|
15
|
-
module BombBomb
|
16
|
-
# The VideoRecorderMethodResponse class
|
17
|
-
class VideoRecorderMethodResponse
|
18
|
-
# The id of the user for whom this video will be recorded
|
19
|
-
attr_accessor :user_id
|
20
|
-
|
21
|
-
# The email address of the user for whom this video will be recorded
|
22
|
-
attr_accessor :email
|
23
|
-
|
24
|
-
# The client_id of the user for whom this video will be recorded
|
25
|
-
attr_accessor :client_id
|
26
|
-
|
27
|
-
# The id of the video that will be recorded
|
28
|
-
attr_accessor :vid_id
|
29
|
-
|
30
|
-
# An HTML blob that displays a video recorder
|
31
|
-
attr_accessor :content
|
32
|
-
|
33
|
-
# The width of the video recorder
|
34
|
-
attr_accessor :width
|
35
|
-
|
36
|
-
# the Height of the video recorder
|
37
|
-
attr_accessor :height
|
38
|
-
|
39
|
-
# Whether communication from the recorder will be handled via HTTPS (always true)
|
40
|
-
attr_accessor :https
|
41
|
-
|
42
|
-
|
43
|
-
# Attribute mapping from ruby-style variable name to JSON key.
|
44
|
-
def self.attribute_map
|
45
|
-
{
|
46
|
-
:'user_id' => :'user_id',
|
47
|
-
:'email' => :'email',
|
48
|
-
:'client_id' => :'client_id',
|
49
|
-
:'vid_id' => :'vid_id',
|
50
|
-
:'content' => :'content',
|
51
|
-
:'width' => :'width',
|
52
|
-
:'height' => :'height',
|
53
|
-
:'https' => :'https'
|
54
|
-
}
|
55
|
-
end
|
56
|
-
|
57
|
-
# Attribute type mapping.
|
58
|
-
def self.swagger_types
|
59
|
-
{
|
60
|
-
:'user_id' => :'String',
|
61
|
-
:'email' => :'String',
|
62
|
-
:'client_id' => :'String',
|
63
|
-
:'vid_id' => :'String',
|
64
|
-
:'content' => :'String',
|
65
|
-
:'width' => :'Integer',
|
66
|
-
:'height' => :'Integer',
|
67
|
-
:'https' => :'BOOLEAN'
|
68
|
-
}
|
69
|
-
end
|
70
|
-
|
71
|
-
# Initializes the object
|
72
|
-
# @param [Hash] attributes Model attributes in the form of hash
|
73
|
-
def initialize(attributes = {})
|
74
|
-
return unless attributes.is_a?(Hash)
|
75
|
-
|
76
|
-
# convert string to symbol for hash key
|
77
|
-
attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
|
78
|
-
|
79
|
-
if attributes.has_key?(:'user_id')
|
80
|
-
self.user_id = attributes[:'user_id']
|
81
|
-
end
|
82
|
-
|
83
|
-
if attributes.has_key?(:'email')
|
84
|
-
self.email = attributes[:'email']
|
85
|
-
end
|
86
|
-
|
87
|
-
if attributes.has_key?(:'client_id')
|
88
|
-
self.client_id = attributes[:'client_id']
|
89
|
-
end
|
90
|
-
|
91
|
-
if attributes.has_key?(:'vid_id')
|
92
|
-
self.vid_id = attributes[:'vid_id']
|
93
|
-
end
|
94
|
-
|
95
|
-
if attributes.has_key?(:'content')
|
96
|
-
self.content = attributes[:'content']
|
97
|
-
end
|
98
|
-
|
99
|
-
if attributes.has_key?(:'width')
|
100
|
-
self.width = attributes[:'width']
|
101
|
-
end
|
102
|
-
|
103
|
-
if attributes.has_key?(:'height')
|
104
|
-
self.height = attributes[:'height']
|
105
|
-
end
|
106
|
-
|
107
|
-
if attributes.has_key?(:'https')
|
108
|
-
self.https = attributes[:'https']
|
109
|
-
end
|
110
|
-
|
111
|
-
end
|
112
|
-
|
113
|
-
# Show invalid properties with the reasons. Usually used together with valid?
|
114
|
-
# @return Array for valid properties with the reasons
|
115
|
-
def list_invalid_properties
|
116
|
-
invalid_properties = Array.new
|
117
|
-
return invalid_properties
|
118
|
-
end
|
119
|
-
|
120
|
-
# Check to see if the all the properties in the model are valid
|
121
|
-
# @return true if the model is valid
|
122
|
-
def valid?
|
123
|
-
return true
|
124
|
-
end
|
125
|
-
|
126
|
-
# Checks equality by comparing each attribute.
|
127
|
-
# @param [Object] Object to be compared
|
128
|
-
def ==(o)
|
129
|
-
return true if self.equal?(o)
|
130
|
-
self.class == o.class &&
|
131
|
-
user_id == o.user_id &&
|
132
|
-
email == o.email &&
|
133
|
-
client_id == o.client_id &&
|
134
|
-
vid_id == o.vid_id &&
|
135
|
-
content == o.content &&
|
136
|
-
width == o.width &&
|
137
|
-
height == o.height &&
|
138
|
-
https == o.https
|
139
|
-
end
|
140
|
-
|
141
|
-
# @see the `==` method
|
142
|
-
# @param [Object] Object to be compared
|
143
|
-
def eql?(o)
|
144
|
-
self == o
|
145
|
-
end
|
146
|
-
|
147
|
-
# Calculates hash code according to all attributes.
|
148
|
-
# @return [Fixnum] Hash code
|
149
|
-
def hash
|
150
|
-
[user_id, email, client_id, vid_id, content, width, height, https].hash
|
151
|
-
end
|
152
|
-
|
153
|
-
# Builds the object from hash
|
154
|
-
# @param [Hash] attributes Model attributes in the form of hash
|
155
|
-
# @return [Object] Returns the model itself
|
156
|
-
def build_from_hash(attributes)
|
157
|
-
return nil unless attributes.is_a?(Hash)
|
158
|
-
self.class.swagger_types.each_pair do |key, type|
|
159
|
-
if type =~ /\AArray<(.*)>/i
|
160
|
-
# check to ensure the input is an array given that the the attribute
|
161
|
-
# is documented as an array but the input is not
|
162
|
-
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
163
|
-
self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } )
|
164
|
-
end
|
165
|
-
elsif !attributes[self.class.attribute_map[key]].nil?
|
166
|
-
self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
|
167
|
-
end # or else data not found in attributes(hash), not an issue as the data can be optional
|
168
|
-
end
|
169
|
-
|
170
|
-
self
|
171
|
-
end
|
172
|
-
|
173
|
-
# Deserializes the data based on type
|
174
|
-
# @param string type Data type
|
175
|
-
# @param string value Value to be deserialized
|
176
|
-
# @return [Object] Deserialized data
|
177
|
-
def _deserialize(type, value)
|
178
|
-
case type.to_sym
|
179
|
-
when :DateTime
|
180
|
-
DateTime.parse(value)
|
181
|
-
when :Date
|
182
|
-
Date.parse(value)
|
183
|
-
when :String
|
184
|
-
value.to_s
|
185
|
-
when :Integer
|
186
|
-
value.to_i
|
187
|
-
when :Float
|
188
|
-
value.to_f
|
189
|
-
when :BOOLEAN
|
190
|
-
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
191
|
-
true
|
192
|
-
else
|
193
|
-
false
|
194
|
-
end
|
195
|
-
when :Object
|
196
|
-
# generic object (usually a Hash), return directly
|
197
|
-
value
|
198
|
-
when /\AArray<(?<inner_type>.+)>\z/
|
199
|
-
inner_type = Regexp.last_match[:inner_type]
|
200
|
-
value.map { |v| _deserialize(inner_type, v) }
|
201
|
-
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
202
|
-
k_type = Regexp.last_match[:k_type]
|
203
|
-
v_type = Regexp.last_match[:v_type]
|
204
|
-
{}.tap do |hash|
|
205
|
-
value.each do |k, v|
|
206
|
-
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
207
|
-
end
|
208
|
-
end
|
209
|
-
else # model
|
210
|
-
temp_model = BombBomb.const_get(type).new
|
211
|
-
temp_model.build_from_hash(value)
|
212
|
-
end
|
213
|
-
end
|
214
|
-
|
215
|
-
# Returns the string representation of the object
|
216
|
-
# @return [String] String presentation of the object
|
217
|
-
def to_s
|
218
|
-
to_hash.to_s
|
219
|
-
end
|
220
|
-
|
221
|
-
# to_body is an alias to to_hash (backward compatibility)
|
222
|
-
# @return [Hash] Returns the object in the form of hash
|
223
|
-
def to_body
|
224
|
-
to_hash
|
225
|
-
end
|
226
|
-
|
227
|
-
# Returns the object in the form of hash
|
228
|
-
# @return [Hash] Returns the object in the form of hash
|
229
|
-
def to_hash
|
230
|
-
hash = {}
|
231
|
-
self.class.attribute_map.each_pair do |attr, param|
|
232
|
-
value = self.send(attr)
|
233
|
-
next if value.nil?
|
234
|
-
hash[param] = _to_hash(value)
|
235
|
-
end
|
236
|
-
hash
|
237
|
-
end
|
238
|
-
|
239
|
-
# Outputs non-array value in the form of hash
|
240
|
-
# For object, use to_hash. Otherwise, just return the value
|
241
|
-
# @param [Object] value Any valid value
|
242
|
-
# @return [Hash] Returns the value in the form of hash
|
243
|
-
def _to_hash(value)
|
244
|
-
if value.is_a?(Array)
|
245
|
-
value.compact.map{ |v| _to_hash(v) }
|
246
|
-
elsif value.is_a?(Hash)
|
247
|
-
{}.tap do |hash|
|
248
|
-
value.each { |k, v| hash[k] = _to_hash(v) }
|
249
|
-
end
|
250
|
-
elsif value.respond_to? :to_hash
|
251
|
-
value.to_hash
|
252
|
-
else
|
253
|
-
value
|
254
|
-
end
|
255
|
-
end
|
256
|
-
|
257
|
-
end
|
258
|
-
|
259
|
-
end
|
@@ -1,96 +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::AccountsApi
|
28
|
-
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
29
|
-
# Please update as you see appropriate
|
30
|
-
describe 'AccountsApi' do
|
31
|
-
before do
|
32
|
-
# run before each test
|
33
|
-
@instance = BombBomb::AccountsApi.new
|
34
|
-
end
|
35
|
-
|
36
|
-
after do
|
37
|
-
# run after each test
|
38
|
-
end
|
39
|
-
|
40
|
-
describe 'test an instance of AccountsApi' do
|
41
|
-
it 'should create an instact of AccountsApi' do
|
42
|
-
expect(@instance).to be_instance_of(BombBomb::AccountsApi)
|
43
|
-
end
|
44
|
-
end
|
45
|
-
|
46
|
-
# unit tests for account_details
|
47
|
-
# Get account details.
|
48
|
-
# Get the details of the user's account.
|
49
|
-
# @param [Hash] opts the optional parameters
|
50
|
-
# @option opts [String] :email Your login email address
|
51
|
-
# @option opts [String] :pw Your password
|
52
|
-
# @option opts [String] :api_key Your Api Key
|
53
|
-
# @return [nil]
|
54
|
-
describe 'account_details test' do
|
55
|
-
it "should work" do
|
56
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
57
|
-
end
|
58
|
-
end
|
59
|
-
|
60
|
-
# unit tests for create_account
|
61
|
-
# Create Account
|
62
|
-
# Creates a new BombBomb account. This method is currently only available to paid seat admins.
|
63
|
-
# @param team_id The team id
|
64
|
-
# @param first_name First name of the user.
|
65
|
-
# @param last_name Last name of the user.
|
66
|
-
# @param email_address Email address of the user.
|
67
|
-
# @param company_name Company of the user.
|
68
|
-
# @param phone Phone number of the user.
|
69
|
-
# @param [Hash] opts the optional parameters
|
70
|
-
# @option opts [String] :country Country of the user.
|
71
|
-
# @option opts [String] :industry Industry of the user.
|
72
|
-
# @option opts [String] :address Street Address of the user.
|
73
|
-
# @option opts [String] :city City of the user.
|
74
|
-
# @option opts [String] :postal_code Postal/Zip code of the user.
|
75
|
-
# @return [String]
|
76
|
-
describe 'create_account test' do
|
77
|
-
it "should work" do
|
78
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
79
|
-
end
|
80
|
-
end
|
81
|
-
|
82
|
-
# unit tests for subscription_purchase_allowed
|
83
|
-
# Check if subscription purchase allowed.
|
84
|
-
# Check whether the user can purchase a subscription.
|
85
|
-
# @param [Hash] opts the optional parameters
|
86
|
-
# @option opts [String] :email Your login email address
|
87
|
-
# @option opts [String] :pw Your password
|
88
|
-
# @option opts [String] :api_key Your Api Key
|
89
|
-
# @return [nil]
|
90
|
-
describe 'subscription_purchase_allowed test' do
|
91
|
-
it "should work" do
|
92
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
93
|
-
end
|
94
|
-
end
|
95
|
-
|
96
|
-
end
|
@@ -1,71 +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::AutomationsApi
|
28
|
-
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
29
|
-
# Please update as you see appropriate
|
30
|
-
describe 'AutomationsApi' do
|
31
|
-
before do
|
32
|
-
# run before each test
|
33
|
-
@instance = BombBomb::AutomationsApi.new
|
34
|
-
end
|
35
|
-
|
36
|
-
after do
|
37
|
-
# run after each test
|
38
|
-
end
|
39
|
-
|
40
|
-
describe 'test an instance of AutomationsApi' do
|
41
|
-
it 'should create an instact of AutomationsApi' do
|
42
|
-
expect(@instance).to be_instance_of(BombBomb::AutomationsApi)
|
43
|
-
end
|
44
|
-
end
|
45
|
-
|
46
|
-
# unit tests for get_drip_drop_stats
|
47
|
-
# Get Automation Email Stats
|
48
|
-
# Get Automation Email Stats
|
49
|
-
# @param drip_id The id of the drip
|
50
|
-
# @param drip_drop_id The id of the drip drop
|
51
|
-
# @param [Hash] opts the optional parameters
|
52
|
-
# @return [nil]
|
53
|
-
describe 'get_drip_drop_stats test' do
|
54
|
-
it "should work" do
|
55
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
56
|
-
end
|
57
|
-
end
|
58
|
-
|
59
|
-
# unit tests for get_drip_stats
|
60
|
-
# Get Automation Stats
|
61
|
-
# Get Automation Stats
|
62
|
-
# @param id The id of the automation
|
63
|
-
# @param [Hash] opts the optional parameters
|
64
|
-
# @return [nil]
|
65
|
-
describe 'get_drip_stats 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
|
-
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.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::ContactsApi
|
28
|
-
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
29
|
-
# Please update as you see appropriate
|
30
|
-
describe 'ContactsApi' do
|
31
|
-
before do
|
32
|
-
# run before each test
|
33
|
-
@instance = BombBomb::ContactsApi.new
|
34
|
-
end
|
35
|
-
|
36
|
-
after do
|
37
|
-
# run after each test
|
38
|
-
end
|
39
|
-
|
40
|
-
describe 'test an instance of ContactsApi' do
|
41
|
-
it 'should create an instact of ContactsApi' do
|
42
|
-
expect(@instance).to be_instance_of(BombBomb::ContactsApi)
|
43
|
-
end
|
44
|
-
end
|
45
|
-
|
46
|
-
# unit tests for delete_contacts
|
47
|
-
# Delete Contacts
|
48
|
-
# Delete contacts
|
49
|
-
# @param list_id The list of contacts to be deleted.
|
50
|
-
# @param [Hash] opts the optional parameters
|
51
|
-
# @return [nil]
|
52
|
-
describe 'delete_contacts 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
|