bombbomb 2.0.24005 → 2.0.25797
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 +5 -5
- data/README.md +44 -20
- data/bombbomb.gemspec +1 -1
- data/docs/AccountsApi.md +61 -28
- data/docs/ContactsApi.md +373 -0
- data/docs/EmailsApi.md +168 -0
- data/docs/FilesApi.md +216 -4
- data/docs/HostedDoc.md +13 -0
- data/docs/IntegrationsApi.md +62 -0
- data/docs/ListsApi.md +98 -0
- data/docs/PromptsApi.md +76 -12
- data/docs/SocialsApi.md +172 -71
- data/docs/TeamsApi.md +295 -1
- data/docs/VideoEmailPrompt.md +6 -0
- data/docs/VideosApi.md +59 -0
- data/lib/bombbomb/api/accounts_api.rb +59 -19
- data/lib/bombbomb/api/automations_api.rb +1 -1
- data/lib/bombbomb/api/contacts_api.rb +408 -1
- data/lib/bombbomb/api/curriculum_api.rb +1 -1
- data/lib/bombbomb/api/emails_api.rb +187 -1
- data/lib/bombbomb/api/files_api.rb +239 -7
- data/lib/bombbomb/api/integrations_api.rb +90 -0
- data/lib/bombbomb/api/lists_api.rb +110 -1
- data/lib/bombbomb/api/orders_api.rb +1 -1
- data/lib/bombbomb/api/prompts_api.rb +90 -20
- data/lib/bombbomb/api/socials_api.rb +210 -109
- data/lib/bombbomb/api/teams_api.rb +332 -1
- data/lib/bombbomb/api/utilities_api.rb +1 -1
- data/lib/bombbomb/api/videos_api.rb +66 -1
- data/lib/bombbomb/api/webhooks_api.rb +1 -1
- data/lib/bombbomb/api_client.rb +1 -1
- data/lib/bombbomb/api_error.rb +1 -1
- data/lib/bombbomb/configuration.rb +1 -1
- data/lib/bombbomb/models/bb_web_hook.rb +1 -1
- data/lib/bombbomb/models/curriculum.rb +1 -1
- data/lib/bombbomb/models/curriculum_user_progress.rb +1 -1
- data/lib/bombbomb/models/curriculum_with_progress.rb +1 -1
- data/lib/bombbomb/models/hosted_doc.rb +250 -0
- data/lib/bombbomb/models/inline_response_200.rb +1 -1
- data/lib/bombbomb/models/inline_response_200_items.rb +1 -1
- data/lib/bombbomb/models/jericho_configuration.rb +1 -1
- data/lib/bombbomb/models/jericho_performance.rb +1 -1
- data/lib/bombbomb/models/o_auth_client.rb +1 -1
- data/lib/bombbomb/models/prompt_bot.rb +1 -1
- data/lib/bombbomb/models/sign_upload_request.rb +1 -1
- data/lib/bombbomb/models/sign_upload_response.rb +1 -1
- data/lib/bombbomb/models/string.rb +1 -1
- data/lib/bombbomb/models/team_public_representation.rb +1 -1
- data/lib/bombbomb/models/video_email_prompt.rb +67 -5
- data/lib/bombbomb/models/video_encoding_status_response.rb +1 -1
- data/lib/bombbomb/models/video_public_representation.rb +1 -1
- data/lib/bombbomb/models/video_recorder_method_response.rb +1 -1
- data/lib/bombbomb/version.rb +2 -2
- data/lib/bombbomb.rb +3 -1
- data/spec/api/integrations_api_spec.rb +58 -0
- data/spec/models/hosted_doc_spec.rb +83 -0
- metadata +11 -3
@@ -0,0 +1,250 @@
|
|
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 'date'
|
25
|
+
|
26
|
+
module BombBomb
|
27
|
+
# The HostedDoc class
|
28
|
+
class HostedDoc
|
29
|
+
# The doc's id.
|
30
|
+
attr_accessor :id
|
31
|
+
|
32
|
+
# The doc's owner.
|
33
|
+
attr_accessor :user_id
|
34
|
+
|
35
|
+
# docs file name.
|
36
|
+
attr_accessor :file_name
|
37
|
+
|
38
|
+
# The doc's short url.
|
39
|
+
attr_accessor :short_url
|
40
|
+
|
41
|
+
# The doc's long url.
|
42
|
+
attr_accessor :long_url
|
43
|
+
|
44
|
+
# The doc's upload date.
|
45
|
+
attr_accessor :upload_date
|
46
|
+
|
47
|
+
|
48
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
49
|
+
def self.attribute_map
|
50
|
+
{
|
51
|
+
:'id' => :'id',
|
52
|
+
:'user_id' => :'userId',
|
53
|
+
:'file_name' => :'fileName',
|
54
|
+
:'short_url' => :'shortUrl',
|
55
|
+
:'long_url' => :'longUrl',
|
56
|
+
:'upload_date' => :'uploadDate'
|
57
|
+
}
|
58
|
+
end
|
59
|
+
|
60
|
+
# Attribute type mapping.
|
61
|
+
def self.swagger_types
|
62
|
+
{
|
63
|
+
:'id' => :'String',
|
64
|
+
:'user_id' => :'String',
|
65
|
+
:'file_name' => :'String',
|
66
|
+
:'short_url' => :'String',
|
67
|
+
:'long_url' => :'String',
|
68
|
+
:'upload_date' => :'DateTime'
|
69
|
+
}
|
70
|
+
end
|
71
|
+
|
72
|
+
# Initializes the object
|
73
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
74
|
+
def initialize(attributes = {})
|
75
|
+
return unless attributes.is_a?(Hash)
|
76
|
+
|
77
|
+
# convert string to symbol for hash key
|
78
|
+
attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
|
79
|
+
|
80
|
+
if attributes.has_key?(:'id')
|
81
|
+
self.id = attributes[:'id']
|
82
|
+
end
|
83
|
+
|
84
|
+
if attributes.has_key?(:'userId')
|
85
|
+
self.user_id = attributes[:'userId']
|
86
|
+
end
|
87
|
+
|
88
|
+
if attributes.has_key?(:'fileName')
|
89
|
+
self.file_name = attributes[:'fileName']
|
90
|
+
end
|
91
|
+
|
92
|
+
if attributes.has_key?(:'shortUrl')
|
93
|
+
self.short_url = attributes[:'shortUrl']
|
94
|
+
end
|
95
|
+
|
96
|
+
if attributes.has_key?(:'longUrl')
|
97
|
+
self.long_url = attributes[:'longUrl']
|
98
|
+
end
|
99
|
+
|
100
|
+
if attributes.has_key?(:'uploadDate')
|
101
|
+
self.upload_date = attributes[:'uploadDate']
|
102
|
+
end
|
103
|
+
|
104
|
+
end
|
105
|
+
|
106
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
107
|
+
# @return Array for valid properies with the reasons
|
108
|
+
def list_invalid_properties
|
109
|
+
invalid_properties = Array.new
|
110
|
+
return invalid_properties
|
111
|
+
end
|
112
|
+
|
113
|
+
# Check to see if the all the properties in the model are valid
|
114
|
+
# @return true if the model is valid
|
115
|
+
def valid?
|
116
|
+
return true
|
117
|
+
end
|
118
|
+
|
119
|
+
# Checks equality by comparing each attribute.
|
120
|
+
# @param [Object] Object to be compared
|
121
|
+
def ==(o)
|
122
|
+
return true if self.equal?(o)
|
123
|
+
self.class == o.class &&
|
124
|
+
id == o.id &&
|
125
|
+
user_id == o.user_id &&
|
126
|
+
file_name == o.file_name &&
|
127
|
+
short_url == o.short_url &&
|
128
|
+
long_url == o.long_url &&
|
129
|
+
upload_date == o.upload_date
|
130
|
+
end
|
131
|
+
|
132
|
+
# @see the `==` method
|
133
|
+
# @param [Object] Object to be compared
|
134
|
+
def eql?(o)
|
135
|
+
self == o
|
136
|
+
end
|
137
|
+
|
138
|
+
# Calculates hash code according to all attributes.
|
139
|
+
# @return [Fixnum] Hash code
|
140
|
+
def hash
|
141
|
+
[id, user_id, file_name, short_url, long_url, upload_date].hash
|
142
|
+
end
|
143
|
+
|
144
|
+
# Builds the object from hash
|
145
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
146
|
+
# @return [Object] Returns the model itself
|
147
|
+
def build_from_hash(attributes)
|
148
|
+
return nil unless attributes.is_a?(Hash)
|
149
|
+
self.class.swagger_types.each_pair do |key, type|
|
150
|
+
if type =~ /^Array<(.*)>/i
|
151
|
+
# check to ensure the input is an array given that the the attribute
|
152
|
+
# is documented as an array but the input is not
|
153
|
+
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
154
|
+
self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } )
|
155
|
+
end
|
156
|
+
elsif !attributes[self.class.attribute_map[key]].nil?
|
157
|
+
self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
|
158
|
+
end # or else data not found in attributes(hash), not an issue as the data can be optional
|
159
|
+
end
|
160
|
+
|
161
|
+
self
|
162
|
+
end
|
163
|
+
|
164
|
+
# Deserializes the data based on type
|
165
|
+
# @param string type Data type
|
166
|
+
# @param string value Value to be deserialized
|
167
|
+
# @return [Object] Deserialized data
|
168
|
+
def _deserialize(type, value)
|
169
|
+
case type.to_sym
|
170
|
+
when :DateTime
|
171
|
+
DateTime.parse(value)
|
172
|
+
when :Date
|
173
|
+
Date.parse(value)
|
174
|
+
when :String
|
175
|
+
value.to_s
|
176
|
+
when :Integer
|
177
|
+
value.to_i
|
178
|
+
when :Float
|
179
|
+
value.to_f
|
180
|
+
when :BOOLEAN
|
181
|
+
if value.to_s =~ /^(true|t|yes|y|1)$/i
|
182
|
+
true
|
183
|
+
else
|
184
|
+
false
|
185
|
+
end
|
186
|
+
when :Object
|
187
|
+
# generic object (usually a Hash), return directly
|
188
|
+
value
|
189
|
+
when /\AArray<(?<inner_type>.+)>\z/
|
190
|
+
inner_type = Regexp.last_match[:inner_type]
|
191
|
+
value.map { |v| _deserialize(inner_type, v) }
|
192
|
+
when /\AHash<(?<k_type>.+), (?<v_type>.+)>\z/
|
193
|
+
k_type = Regexp.last_match[:k_type]
|
194
|
+
v_type = Regexp.last_match[:v_type]
|
195
|
+
{}.tap do |hash|
|
196
|
+
value.each do |k, v|
|
197
|
+
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
198
|
+
end
|
199
|
+
end
|
200
|
+
else # model
|
201
|
+
temp_model = BombBomb.const_get(type).new
|
202
|
+
temp_model.build_from_hash(value)
|
203
|
+
end
|
204
|
+
end
|
205
|
+
|
206
|
+
# Returns the string representation of the object
|
207
|
+
# @return [String] String presentation of the object
|
208
|
+
def to_s
|
209
|
+
to_hash.to_s
|
210
|
+
end
|
211
|
+
|
212
|
+
# to_body is an alias to to_hash (backward compatibility)
|
213
|
+
# @return [Hash] Returns the object in the form of hash
|
214
|
+
def to_body
|
215
|
+
to_hash
|
216
|
+
end
|
217
|
+
|
218
|
+
# Returns the object in the form of hash
|
219
|
+
# @return [Hash] Returns the object in the form of hash
|
220
|
+
def to_hash
|
221
|
+
hash = {}
|
222
|
+
self.class.attribute_map.each_pair do |attr, param|
|
223
|
+
value = self.send(attr)
|
224
|
+
next if value.nil?
|
225
|
+
hash[param] = _to_hash(value)
|
226
|
+
end
|
227
|
+
hash
|
228
|
+
end
|
229
|
+
|
230
|
+
# Outputs non-array value in the form of hash
|
231
|
+
# For object, use to_hash. Otherwise, just return the value
|
232
|
+
# @param [Object] value Any valid value
|
233
|
+
# @return [Hash] Returns the value in the form of hash
|
234
|
+
def _to_hash(value)
|
235
|
+
if value.is_a?(Array)
|
236
|
+
value.compact.map{ |v| _to_hash(v) }
|
237
|
+
elsif value.is_a?(Hash)
|
238
|
+
{}.tap do |hash|
|
239
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
240
|
+
end
|
241
|
+
elsif value.respond_to? :to_hash
|
242
|
+
value.to_hash
|
243
|
+
else
|
244
|
+
value
|
245
|
+
end
|
246
|
+
end
|
247
|
+
|
248
|
+
end
|
249
|
+
|
250
|
+
end
|
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
#We make it easy to build relationships using simple videos.
|
5
5
|
|
6
|
-
OpenAPI spec version: 2.0.
|
6
|
+
OpenAPI spec version: 2.0.25797
|
7
7
|
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
9
|
|
@@ -104,6 +104,24 @@ module BombBomb
|
|
104
104
|
# When the user was last notified about a prompt email waiting for a video
|
105
105
|
attr_accessor :last_notified
|
106
106
|
|
107
|
+
# The facebook message to be passed off to social sender
|
108
|
+
attr_accessor :facebook_message
|
109
|
+
|
110
|
+
# The twitter message to be passed off to social sender
|
111
|
+
attr_accessor :twitter_message
|
112
|
+
|
113
|
+
# The linkedin message to be passed off to social sender
|
114
|
+
attr_accessor :linkedin_message
|
115
|
+
|
116
|
+
# The sendMechanism property
|
117
|
+
attr_accessor :send_mechanism
|
118
|
+
|
119
|
+
# this determines whether or not it has a social content.
|
120
|
+
attr_accessor :has_social
|
121
|
+
|
122
|
+
# The types of mechanisms this prompt can send.
|
123
|
+
attr_accessor :send_types
|
124
|
+
|
107
125
|
|
108
126
|
# Attribute mapping from ruby-style variable name to JSON key.
|
109
127
|
def self.attribute_map
|
@@ -133,7 +151,13 @@ module BombBomb
|
|
133
151
|
:'status' => :'status',
|
134
152
|
:'apply_template' => :'applyTemplate',
|
135
153
|
:'created_date' => :'createdDate',
|
136
|
-
:'last_notified' => :'lastNotified'
|
154
|
+
:'last_notified' => :'lastNotified',
|
155
|
+
:'facebook_message' => :'facebookMessage',
|
156
|
+
:'twitter_message' => :'twitterMessage',
|
157
|
+
:'linkedin_message' => :'linkedinMessage',
|
158
|
+
:'send_mechanism' => :'sendMechanism',
|
159
|
+
:'has_social' => :'hasSocial',
|
160
|
+
:'send_types' => :'sendTypes'
|
137
161
|
}
|
138
162
|
end
|
139
163
|
|
@@ -165,7 +189,13 @@ module BombBomb
|
|
165
189
|
:'status' => :'Integer',
|
166
190
|
:'apply_template' => :'BOOLEAN',
|
167
191
|
:'created_date' => :'DateTime',
|
168
|
-
:'last_notified' => :'DateTime'
|
192
|
+
:'last_notified' => :'DateTime',
|
193
|
+
:'facebook_message' => :'String',
|
194
|
+
:'twitter_message' => :'String',
|
195
|
+
:'linkedin_message' => :'String',
|
196
|
+
:'send_mechanism' => :'String',
|
197
|
+
:'has_social' => :'BOOLEAN',
|
198
|
+
:'send_types' => :'Array<String>'
|
169
199
|
}
|
170
200
|
end
|
171
201
|
|
@@ -283,6 +313,32 @@ module BombBomb
|
|
283
313
|
self.last_notified = attributes[:'lastNotified']
|
284
314
|
end
|
285
315
|
|
316
|
+
if attributes.has_key?(:'facebookMessage')
|
317
|
+
self.facebook_message = attributes[:'facebookMessage']
|
318
|
+
end
|
319
|
+
|
320
|
+
if attributes.has_key?(:'twitterMessage')
|
321
|
+
self.twitter_message = attributes[:'twitterMessage']
|
322
|
+
end
|
323
|
+
|
324
|
+
if attributes.has_key?(:'linkedinMessage')
|
325
|
+
self.linkedin_message = attributes[:'linkedinMessage']
|
326
|
+
end
|
327
|
+
|
328
|
+
if attributes.has_key?(:'sendMechanism')
|
329
|
+
self.send_mechanism = attributes[:'sendMechanism']
|
330
|
+
end
|
331
|
+
|
332
|
+
if attributes.has_key?(:'hasSocial')
|
333
|
+
self.has_social = attributes[:'hasSocial']
|
334
|
+
end
|
335
|
+
|
336
|
+
if attributes.has_key?(:'sendTypes')
|
337
|
+
if (value = attributes[:'sendTypes']).is_a?(Array)
|
338
|
+
self.send_types = value
|
339
|
+
end
|
340
|
+
end
|
341
|
+
|
286
342
|
end
|
287
343
|
|
288
344
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -333,7 +389,13 @@ module BombBomb
|
|
333
389
|
status == o.status &&
|
334
390
|
apply_template == o.apply_template &&
|
335
391
|
created_date == o.created_date &&
|
336
|
-
last_notified == o.last_notified
|
392
|
+
last_notified == o.last_notified &&
|
393
|
+
facebook_message == o.facebook_message &&
|
394
|
+
twitter_message == o.twitter_message &&
|
395
|
+
linkedin_message == o.linkedin_message &&
|
396
|
+
send_mechanism == o.send_mechanism &&
|
397
|
+
has_social == o.has_social &&
|
398
|
+
send_types == o.send_types
|
337
399
|
end
|
338
400
|
|
339
401
|
# @see the `==` method
|
@@ -345,7 +407,7 @@ module BombBomb
|
|
345
407
|
# Calculates hash code according to all attributes.
|
346
408
|
# @return [Fixnum] Hash code
|
347
409
|
def hash
|
348
|
-
[id, user_id, template_id, email_subject_line, email_content, thumbnail_url, contact_id, to_lists, jericho_id, prompt_subject, prompt_html, prompt_intro, example_video_id, followup_video_id, send_without_video, video_due_date, scheduled_send_date, video_id, email_id, job_id, prompt_bot_id, client_group_id, status, apply_template, created_date, last_notified].hash
|
410
|
+
[id, user_id, template_id, email_subject_line, email_content, thumbnail_url, contact_id, to_lists, jericho_id, prompt_subject, prompt_html, prompt_intro, example_video_id, followup_video_id, send_without_video, video_due_date, scheduled_send_date, video_id, email_id, job_id, prompt_bot_id, client_group_id, status, apply_template, created_date, last_notified, facebook_message, twitter_message, linkedin_message, send_mechanism, has_social, send_types].hash
|
349
411
|
end
|
350
412
|
|
351
413
|
# Builds the object from hash
|
data/lib/bombbomb/version.rb
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
#We make it easy to build relationships using simple videos.
|
5
5
|
|
6
|
-
OpenAPI spec version: 2.0.
|
6
|
+
OpenAPI spec version: 2.0.25797
|
7
7
|
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
9
|
|
@@ -22,5 +22,5 @@ limitations under the License.
|
|
22
22
|
=end
|
23
23
|
|
24
24
|
module BombBomb
|
25
|
-
VERSION = "2.0.
|
25
|
+
VERSION = "2.0.25797"
|
26
26
|
end
|
data/lib/bombbomb.rb
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
#We make it easy to build relationships using simple videos.
|
5
5
|
|
6
|
-
OpenAPI spec version: 2.0.
|
6
|
+
OpenAPI spec version: 2.0.25797
|
7
7
|
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
9
|
|
@@ -32,6 +32,7 @@ require 'bombbomb/models/bb_web_hook'
|
|
32
32
|
require 'bombbomb/models/curriculum'
|
33
33
|
require 'bombbomb/models/curriculum_user_progress'
|
34
34
|
require 'bombbomb/models/curriculum_with_progress'
|
35
|
+
require 'bombbomb/models/hosted_doc'
|
35
36
|
require 'bombbomb/models/inline_response_200'
|
36
37
|
require 'bombbomb/models/inline_response_200_items'
|
37
38
|
require 'bombbomb/models/jericho_configuration'
|
@@ -54,6 +55,7 @@ require 'bombbomb/api/contacts_api'
|
|
54
55
|
require 'bombbomb/api/curriculum_api'
|
55
56
|
require 'bombbomb/api/emails_api'
|
56
57
|
require 'bombbomb/api/files_api'
|
58
|
+
require 'bombbomb/api/integrations_api'
|
57
59
|
require 'bombbomb/api/lists_api'
|
58
60
|
require 'bombbomb/api/orders_api'
|
59
61
|
require 'bombbomb/api/prompts_api'
|
@@ -0,0 +1,58 @@
|
|
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
|
@@ -0,0 +1,83 @@
|
|
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
|
+
require 'date'
|
27
|
+
|
28
|
+
# Unit tests for BombBomb::HostedDoc
|
29
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
30
|
+
# Please update as you see appropriate
|
31
|
+
describe 'HostedDoc' do
|
32
|
+
before do
|
33
|
+
# run before each test
|
34
|
+
@instance = BombBomb::HostedDoc.new
|
35
|
+
end
|
36
|
+
|
37
|
+
after do
|
38
|
+
# run after each test
|
39
|
+
end
|
40
|
+
|
41
|
+
describe 'test an instance of HostedDoc' do
|
42
|
+
it 'should create an instact of HostedDoc' do
|
43
|
+
expect(@instance).to be_instance_of(BombBomb::HostedDoc)
|
44
|
+
end
|
45
|
+
end
|
46
|
+
describe 'test attribute "id"' do
|
47
|
+
it 'should work' do
|
48
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
49
|
+
end
|
50
|
+
end
|
51
|
+
|
52
|
+
describe 'test attribute "user_id"' 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
|
+
describe 'test attribute "file_name"' do
|
59
|
+
it 'should work' do
|
60
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
61
|
+
end
|
62
|
+
end
|
63
|
+
|
64
|
+
describe 'test attribute "short_url"' do
|
65
|
+
it 'should work' do
|
66
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
67
|
+
end
|
68
|
+
end
|
69
|
+
|
70
|
+
describe 'test attribute "long_url"' do
|
71
|
+
it 'should work' do
|
72
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
73
|
+
end
|
74
|
+
end
|
75
|
+
|
76
|
+
describe 'test attribute "upload_date"' 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
|
+
end
|
83
|
+
|