rustici_software_cloud_v2 1.1.0 → 2.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (147) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +1 -1
  3. data/README.md +355 -356
  4. data/lib/rustici_software_cloud_v2/api/about_api.rb +4 -4
  5. data/lib/rustici_software_cloud_v2/api/application_management_api.rb +190 -62
  6. data/lib/rustici_software_cloud_v2/api/authentication_api.rb +9 -17
  7. data/lib/rustici_software_cloud_v2/api/course_api.rb +903 -196
  8. data/lib/rustici_software_cloud_v2/api/dispatch_api.rb +458 -268
  9. data/lib/rustici_software_cloud_v2/api/invitations_api.rb +212 -170
  10. data/lib/rustici_software_cloud_v2/api/learner_api.rb +48 -48
  11. data/lib/rustici_software_cloud_v2/api/ping_api.rb +2 -0
  12. data/lib/rustici_software_cloud_v2/api/registration_api.rb +255 -269
  13. data/lib/rustici_software_cloud_v2/api/reporting_api.rb +19 -23
  14. data/lib/rustici_software_cloud_v2/api/xapi_api.rb +81 -66
  15. data/lib/rustici_software_cloud_v2/api/zoomi_api.rb +124 -55
  16. data/lib/rustici_software_cloud_v2/api_client.rb +2 -2
  17. data/lib/rustici_software_cloud_v2/configuration.rb +3 -3
  18. data/lib/rustici_software_cloud_v2/models/about_schema.rb +3 -1
  19. data/lib/rustici_software_cloud_v2/models/activity_result_schema.rb +8 -36
  20. data/lib/rustici_software_cloud_v2/models/application_info_schema.rb +234 -0
  21. data/lib/rustici_software_cloud_v2/models/application_list_schema.rb +3 -1
  22. data/lib/rustici_software_cloud_v2/models/application_request_schema.rb +186 -0
  23. data/lib/rustici_software_cloud_v2/models/application_schema.rb +3 -1
  24. data/lib/rustici_software_cloud_v2/models/application_token.rb +3 -1
  25. data/lib/rustici_software_cloud_v2/models/asset_file_schema.rb +194 -0
  26. data/lib/rustici_software_cloud_v2/models/batch_tags_schema.rb +3 -1
  27. data/lib/rustici_software_cloud_v2/models/comment_schema.rb +3 -1
  28. data/lib/rustici_software_cloud_v2/models/completion_amount_schema.rb +3 -1
  29. data/lib/rustici_software_cloud_v2/models/course_activity_schema.rb +5 -29
  30. data/lib/rustici_software_cloud_v2/models/course_list_non_paged_schema.rb +3 -1
  31. data/lib/rustici_software_cloud_v2/models/course_list_schema.rb +4 -1
  32. data/lib/rustici_software_cloud_v2/models/course_reference_schema.rb +3 -1
  33. data/lib/rustici_software_cloud_v2/models/course_schema.rb +5 -29
  34. data/lib/rustici_software_cloud_v2/models/create_dispatch_id_schema.rb +2 -19
  35. data/lib/rustici_software_cloud_v2/models/create_dispatch_list_schema.rb +3 -1
  36. data/lib/rustici_software_cloud_v2/models/create_dispatch_schema.rb +4 -2
  37. data/lib/rustici_software_cloud_v2/models/create_private_invitation_schema.rb +4 -2
  38. data/lib/rustici_software_cloud_v2/models/create_public_invitation_schema.rb +4 -2
  39. data/lib/rustici_software_cloud_v2/models/create_registration_schema.rb +3 -1
  40. data/lib/rustici_software_cloud_v2/models/credential_created_schema.rb +3 -1
  41. data/lib/rustici_software_cloud_v2/models/credential_list_schema.rb +3 -1
  42. data/lib/rustici_software_cloud_v2/models/credential_request_schema.rb +3 -1
  43. data/lib/rustici_software_cloud_v2/models/credential_schema.rb +3 -1
  44. data/lib/rustici_software_cloud_v2/models/destination_id_schema.rb +3 -1
  45. data/lib/rustici_software_cloud_v2/models/destination_list_schema.rb +4 -2
  46. data/lib/rustici_software_cloud_v2/models/destination_schema.rb +3 -1
  47. data/lib/rustici_software_cloud_v2/models/dispatch_id_schema.rb +3 -1
  48. data/lib/rustici_software_cloud_v2/models/dispatch_list_schema.rb +4 -1
  49. data/lib/rustici_software_cloud_v2/models/dispatch_lti_info_schema.rb +221 -0
  50. data/lib/rustici_software_cloud_v2/models/dispatch_registration_count_schema.rb +3 -1
  51. data/lib/rustici_software_cloud_v2/models/dispatch_schema.rb +43 -3
  52. data/lib/rustici_software_cloud_v2/models/enabled_schema.rb +3 -1
  53. data/lib/rustici_software_cloud_v2/models/file_list_item_schema.rb +205 -0
  54. data/lib/rustici_software_cloud_v2/models/file_list_schema.rb +187 -0
  55. data/lib/rustici_software_cloud_v2/models/import_asset_request_schema.rb +207 -0
  56. data/lib/rustici_software_cloud_v2/models/import_fetch_request_schema.rb +29 -6
  57. data/lib/rustici_software_cloud_v2/models/import_job_result_schema.rb +5 -29
  58. data/lib/rustici_software_cloud_v2/models/import_media_file_reference_request_schema.rb +216 -0
  59. data/lib/rustici_software_cloud_v2/models/import_request_schema.rb +195 -0
  60. data/lib/rustici_software_cloud_v2/models/import_result_schema.rb +3 -1
  61. data/lib/rustici_software_cloud_v2/models/integer_result_schema.rb +3 -1
  62. data/lib/rustici_software_cloud_v2/models/invitation_email_schema.rb +3 -1
  63. data/lib/rustici_software_cloud_v2/models/invitation_job_status_schema.rb +5 -29
  64. data/lib/rustici_software_cloud_v2/models/invitation_summary_list.rb +4 -1
  65. data/lib/rustici_software_cloud_v2/models/invitation_summary_schema.rb +3 -1
  66. data/lib/rustici_software_cloud_v2/models/item_value_pair_schema.rb +3 -1
  67. data/lib/rustici_software_cloud_v2/models/launch_auth_options_schema.rb +3 -1
  68. data/lib/rustici_software_cloud_v2/models/launch_auth_schema.rb +5 -29
  69. data/lib/rustici_software_cloud_v2/models/launch_history_list_schema.rb +3 -1
  70. data/lib/rustici_software_cloud_v2/models/launch_history_schema.rb +8 -36
  71. data/lib/rustici_software_cloud_v2/models/launch_link_request_schema.rb +5 -3
  72. data/lib/rustici_software_cloud_v2/models/launch_link_schema.rb +3 -1
  73. data/lib/rustici_software_cloud_v2/models/learner_preference_schema.rb +3 -1
  74. data/lib/rustici_software_cloud_v2/models/learner_schema.rb +3 -1
  75. data/lib/rustici_software_cloud_v2/models/media_file_metadata_schema.rb +213 -0
  76. data/lib/rustici_software_cloud_v2/models/message_schema.rb +3 -1
  77. data/lib/rustici_software_cloud_v2/models/metadata_schema.rb +10 -8
  78. data/lib/rustici_software_cloud_v2/models/objective_schema.rb +11 -43
  79. data/lib/rustici_software_cloud_v2/models/permissions_schema.rb +3 -1
  80. data/lib/rustici_software_cloud_v2/models/ping_schema.rb +3 -1
  81. data/lib/rustici_software_cloud_v2/models/post_back_schema.rb +8 -36
  82. data/lib/rustici_software_cloud_v2/models/private_invitation_list.rb +4 -1
  83. data/lib/rustici_software_cloud_v2/models/private_invitation_schema.rb +5 -3
  84. data/lib/rustici_software_cloud_v2/models/private_invitation_update_schema.rb +215 -0
  85. data/lib/rustici_software_cloud_v2/models/public_invitation_list.rb +4 -1
  86. data/lib/rustici_software_cloud_v2/models/public_invitation_schema.rb +6 -4
  87. data/lib/rustici_software_cloud_v2/models/public_invitation_update_schema.rb +228 -0
  88. data/lib/rustici_software_cloud_v2/models/registration_list_schema.rb +4 -1
  89. data/lib/rustici_software_cloud_v2/models/registration_schema.rb +3 -1
  90. data/lib/rustici_software_cloud_v2/models/reportage_account_info_schema.rb +3 -1
  91. data/lib/rustici_software_cloud_v2/models/reportage_account_info_usage_schema.rb +3 -1
  92. data/lib/rustici_software_cloud_v2/models/reportage_auth_token_schema.rb +3 -1
  93. data/lib/rustici_software_cloud_v2/models/reportage_link_schema.rb +3 -1
  94. data/lib/rustici_software_cloud_v2/models/response_error.rb +3 -1
  95. data/lib/rustici_software_cloud_v2/models/runtime_interaction_schema.rb +5 -29
  96. data/lib/rustici_software_cloud_v2/models/runtime_objective_schema.rb +8 -36
  97. data/lib/rustici_software_cloud_v2/models/runtime_schema.rb +5 -29
  98. data/lib/rustici_software_cloud_v2/models/score_schema.rb +3 -1
  99. data/lib/rustici_software_cloud_v2/models/setting_item.rb +5 -29
  100. data/lib/rustici_software_cloud_v2/models/setting_list_schema.rb +3 -1
  101. data/lib/rustici_software_cloud_v2/models/setting_metadata.rb +5 -29
  102. data/lib/rustici_software_cloud_v2/models/setting_valid_value.rb +3 -1
  103. data/lib/rustici_software_cloud_v2/models/settings_individual_schema.rb +3 -1
  104. data/lib/rustici_software_cloud_v2/models/settings_post_schema.rb +3 -1
  105. data/lib/rustici_software_cloud_v2/models/shared_data_entry_schema.rb +3 -1
  106. data/lib/rustici_software_cloud_v2/models/static_properties_schema.rb +3 -1
  107. data/lib/rustici_software_cloud_v2/models/string_result_schema.rb +3 -1
  108. data/lib/rustici_software_cloud_v2/models/tag_list_schema.rb +3 -1
  109. data/lib/rustici_software_cloud_v2/models/title_schema.rb +3 -1
  110. data/lib/rustici_software_cloud_v2/models/token_request_schema.rb +3 -1
  111. data/lib/rustici_software_cloud_v2/models/update_application_schema.rb +196 -0
  112. data/lib/rustici_software_cloud_v2/models/update_dispatch_schema.rb +15 -3
  113. data/lib/rustici_software_cloud_v2/models/user_invitation_list.rb +4 -1
  114. data/lib/rustici_software_cloud_v2/models/user_invitation_schema.rb +3 -1
  115. data/lib/rustici_software_cloud_v2/models/user_invitation_schema_registration_report.rb +3 -1
  116. data/lib/rustici_software_cloud_v2/models/xapi_account.rb +3 -1
  117. data/lib/rustici_software_cloud_v2/models/xapi_activity.rb +3 -1
  118. data/lib/rustici_software_cloud_v2/models/xapi_activity_definition.rb +3 -1
  119. data/lib/rustici_software_cloud_v2/models/xapi_agent_group.rb +5 -29
  120. data/lib/rustici_software_cloud_v2/models/xapi_attachment.rb +3 -1
  121. data/lib/rustici_software_cloud_v2/models/xapi_context.rb +3 -1
  122. data/lib/rustici_software_cloud_v2/models/xapi_context_activity.rb +3 -1
  123. data/lib/rustici_software_cloud_v2/models/xapi_credential_auth_type_schema.rb +5 -29
  124. data/lib/rustici_software_cloud_v2/models/xapi_credential_permissions_level_schema.rb +5 -29
  125. data/lib/rustici_software_cloud_v2/models/xapi_credential_post_schema.rb +3 -1
  126. data/lib/rustici_software_cloud_v2/models/xapi_credential_put_schema.rb +3 -1
  127. data/lib/rustici_software_cloud_v2/models/xapi_credential_schema.rb +3 -1
  128. data/lib/rustici_software_cloud_v2/models/xapi_credentials_list_schema.rb +4 -1
  129. data/lib/rustici_software_cloud_v2/models/xapi_endpoint_schema.rb +3 -1
  130. data/lib/rustici_software_cloud_v2/models/xapi_interaction_component.rb +3 -1
  131. data/lib/rustici_software_cloud_v2/models/xapi_result.rb +3 -1
  132. data/lib/rustici_software_cloud_v2/models/xapi_score.rb +3 -1
  133. data/lib/rustici_software_cloud_v2/models/xapi_statement.rb +3 -1
  134. data/lib/rustici_software_cloud_v2/models/xapi_statement_pipe_list_schema.rb +3 -1
  135. data/lib/rustici_software_cloud_v2/models/xapi_statement_pipe_post_schema.rb +3 -1
  136. data/lib/rustici_software_cloud_v2/models/xapi_statement_pipe_put_schema.rb +3 -1
  137. data/lib/rustici_software_cloud_v2/models/xapi_statement_pipe_schema.rb +3 -1
  138. data/lib/rustici_software_cloud_v2/models/xapi_statement_reference.rb +3 -1
  139. data/lib/rustici_software_cloud_v2/models/xapi_statement_result.rb +3 -1
  140. data/lib/rustici_software_cloud_v2/models/xapi_verb.rb +3 -1
  141. data/lib/rustici_software_cloud_v2/models/zoomi_company_id.rb +3 -1
  142. data/lib/rustici_software_cloud_v2/models/zoomi_course_options_schema.rb +13 -1
  143. data/lib/rustici_software_cloud_v2/version.rb +1 -1
  144. data/lib/rustici_software_cloud_v2.rb +13 -0
  145. data/rustici_software_cloud_v2.gemspec +2 -1
  146. data/spec/api_client_spec.rb +17 -0
  147. metadata +35 -2
@@ -64,6 +64,7 @@ module RusticiSoftwareCloudV2
64
64
  true
65
65
  end
66
66
 
67
+
67
68
  # Checks equality by comparing each attribute.
68
69
  # @param [Object] Object to be compared
69
70
  def ==(o)
@@ -92,7 +93,7 @@ module RusticiSoftwareCloudV2
92
93
  return nil unless attributes.is_a?(Hash)
93
94
  self.class.swagger_types.each_pair do |key, type|
94
95
  if type =~ /\AArray<(.*)>/i
95
- # check to ensure the input is an array given that the the attribute
96
+ # check to ensure the input is an array given that the attribute
96
97
  # is documented as an array but the input is not
97
98
  if attributes[self.class.attribute_map[key]].is_a?(Array)
98
99
  self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
@@ -188,5 +189,6 @@ module RusticiSoftwareCloudV2
188
189
  value
189
190
  end
190
191
  end
192
+
191
193
  end
192
194
  end
@@ -104,6 +104,7 @@ module RusticiSoftwareCloudV2
104
104
  true
105
105
  end
106
106
 
107
+
107
108
  # Checks equality by comparing each attribute.
108
109
  # @param [Object] Object to be compared
109
110
  def ==(o)
@@ -137,7 +138,7 @@ module RusticiSoftwareCloudV2
137
138
  return nil unless attributes.is_a?(Hash)
138
139
  self.class.swagger_types.each_pair do |key, type|
139
140
  if type =~ /\AArray<(.*)>/i
140
- # check to ensure the input is an array given that the the attribute
141
+ # check to ensure the input is an array given that the attribute
141
142
  # is documented as an array but the input is not
142
143
  if attributes[self.class.attribute_map[key]].is_a?(Array)
143
144
  self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
@@ -233,5 +234,6 @@ module RusticiSoftwareCloudV2
233
234
  value
234
235
  end
235
236
  end
237
+
236
238
  end
237
239
  end
@@ -77,6 +77,7 @@ module RusticiSoftwareCloudV2
77
77
  true
78
78
  end
79
79
 
80
+
80
81
  # Checks equality by comparing each attribute.
81
82
  # @param [Object] Object to be compared
82
83
  def ==(o)
@@ -105,7 +106,7 @@ module RusticiSoftwareCloudV2
105
106
  return nil unless attributes.is_a?(Hash)
106
107
  self.class.swagger_types.each_pair do |key, type|
107
108
  if type =~ /\AArray<(.*)>/i
108
- # check to ensure the input is an array given that the the attribute
109
+ # check to ensure the input is an array given that the attribute
109
110
  # is documented as an array but the input is not
110
111
  if attributes[self.class.attribute_map[key]].is_a?(Array)
111
112
  self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
@@ -201,5 +202,6 @@ module RusticiSoftwareCloudV2
201
202
  value
202
203
  end
203
204
  end
205
+
204
206
  end
205
207
  end
@@ -72,6 +72,7 @@ module RusticiSoftwareCloudV2
72
72
  true
73
73
  end
74
74
 
75
+
75
76
  # Checks equality by comparing each attribute.
76
77
  # @param [Object] Object to be compared
77
78
  def ==(o)
@@ -100,7 +101,7 @@ module RusticiSoftwareCloudV2
100
101
  return nil unless attributes.is_a?(Hash)
101
102
  self.class.swagger_types.each_pair do |key, type|
102
103
  if type =~ /\AArray<(.*)>/i
103
- # check to ensure the input is an array given that the the attribute
104
+ # check to ensure the input is an array given that the attribute
104
105
  # is documented as an array but the input is not
105
106
  if attributes[self.class.attribute_map[key]].is_a?(Array)
106
107
  self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
@@ -196,5 +197,6 @@ module RusticiSoftwareCloudV2
196
197
  value
197
198
  end
198
199
  end
200
+
199
201
  end
200
202
  end
@@ -72,6 +72,7 @@ module RusticiSoftwareCloudV2
72
72
  true
73
73
  end
74
74
 
75
+
75
76
  # Checks equality by comparing each attribute.
76
77
  # @param [Object] Object to be compared
77
78
  def ==(o)
@@ -100,7 +101,7 @@ module RusticiSoftwareCloudV2
100
101
  return nil unless attributes.is_a?(Hash)
101
102
  self.class.swagger_types.each_pair do |key, type|
102
103
  if type =~ /\AArray<(.*)>/i
103
- # check to ensure the input is an array given that the the attribute
104
+ # check to ensure the input is an array given that the attribute
104
105
  # is documented as an array but the input is not
105
106
  if attributes[self.class.attribute_map[key]].is_a?(Array)
106
107
  self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
@@ -196,5 +197,6 @@ module RusticiSoftwareCloudV2
196
197
  value
197
198
  end
198
199
  end
200
+
199
201
  end
200
202
  end
@@ -56,6 +56,7 @@ module RusticiSoftwareCloudV2
56
56
  true
57
57
  end
58
58
 
59
+
59
60
  # Checks equality by comparing each attribute.
60
61
  # @param [Object] Object to be compared
61
62
  def ==(o)
@@ -83,7 +84,7 @@ module RusticiSoftwareCloudV2
83
84
  return nil unless attributes.is_a?(Hash)
84
85
  self.class.swagger_types.each_pair do |key, type|
85
86
  if type =~ /\AArray<(.*)>/i
86
- # check to ensure the input is an array given that the the attribute
87
+ # check to ensure the input is an array given that the attribute
87
88
  # is documented as an array but the input is not
88
89
  if attributes[self.class.attribute_map[key]].is_a?(Array)
89
90
  self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
@@ -179,5 +180,6 @@ module RusticiSoftwareCloudV2
179
180
  value
180
181
  end
181
182
  end
183
+
182
184
  end
183
185
  end
@@ -55,15 +55,26 @@ module RusticiSoftwareCloudV2
55
55
  # @return Array for valid properties with the reasons
56
56
  def list_invalid_properties
57
57
  invalid_properties = Array.new
58
+ if @nti.nil?
59
+ invalid_properties.push('invalid value for "nti", nti cannot be nil.')
60
+ end
61
+
62
+ if @cta.nil?
63
+ invalid_properties.push('invalid value for "cta", cta cannot be nil.')
64
+ end
65
+
58
66
  invalid_properties
59
67
  end
60
68
 
61
69
  # Check to see if the all the properties in the model are valid
62
70
  # @return true if the model is valid
63
71
  def valid?
72
+ return false if @nti.nil?
73
+ return false if @cta.nil?
64
74
  true
65
75
  end
66
76
 
77
+
67
78
  # Checks equality by comparing each attribute.
68
79
  # @param [Object] Object to be compared
69
80
  def ==(o)
@@ -92,7 +103,7 @@ module RusticiSoftwareCloudV2
92
103
  return nil unless attributes.is_a?(Hash)
93
104
  self.class.swagger_types.each_pair do |key, type|
94
105
  if type =~ /\AArray<(.*)>/i
95
- # check to ensure the input is an array given that the the attribute
106
+ # check to ensure the input is an array given that the attribute
96
107
  # is documented as an array but the input is not
97
108
  if attributes[self.class.attribute_map[key]].is_a?(Array)
98
109
  self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
@@ -188,5 +199,6 @@ module RusticiSoftwareCloudV2
188
199
  value
189
200
  end
190
201
  end
202
+
191
203
  end
192
204
  end
@@ -11,5 +11,5 @@ Swagger Codegen version: 2.4.12
11
11
  =end
12
12
 
13
13
  module RusticiSoftwareCloudV2
14
- VERSION = '1.1.0'
14
+ VERSION = '2.0.0'
15
15
  end
@@ -19,9 +19,12 @@ require 'rustici_software_cloud_v2/configuration'
19
19
  # Models
20
20
  require 'rustici_software_cloud_v2/models/about_schema'
21
21
  require 'rustici_software_cloud_v2/models/activity_result_schema'
22
+ require 'rustici_software_cloud_v2/models/application_info_schema'
22
23
  require 'rustici_software_cloud_v2/models/application_list_schema'
24
+ require 'rustici_software_cloud_v2/models/application_request_schema'
23
25
  require 'rustici_software_cloud_v2/models/application_schema'
24
26
  require 'rustici_software_cloud_v2/models/application_token'
27
+ require 'rustici_software_cloud_v2/models/asset_file_schema'
25
28
  require 'rustici_software_cloud_v2/models/batch_tags_schema'
26
29
  require 'rustici_software_cloud_v2/models/comment_schema'
27
30
  require 'rustici_software_cloud_v2/models/completion_amount_schema'
@@ -45,11 +48,17 @@ require 'rustici_software_cloud_v2/models/destination_list_schema'
45
48
  require 'rustici_software_cloud_v2/models/destination_schema'
46
49
  require 'rustici_software_cloud_v2/models/dispatch_id_schema'
47
50
  require 'rustici_software_cloud_v2/models/dispatch_list_schema'
51
+ require 'rustici_software_cloud_v2/models/dispatch_lti_info_schema'
48
52
  require 'rustici_software_cloud_v2/models/dispatch_registration_count_schema'
49
53
  require 'rustici_software_cloud_v2/models/dispatch_schema'
50
54
  require 'rustici_software_cloud_v2/models/enabled_schema'
55
+ require 'rustici_software_cloud_v2/models/file_list_item_schema'
56
+ require 'rustici_software_cloud_v2/models/file_list_schema'
57
+ require 'rustici_software_cloud_v2/models/import_asset_request_schema'
51
58
  require 'rustici_software_cloud_v2/models/import_fetch_request_schema'
52
59
  require 'rustici_software_cloud_v2/models/import_job_result_schema'
60
+ require 'rustici_software_cloud_v2/models/import_media_file_reference_request_schema'
61
+ require 'rustici_software_cloud_v2/models/import_request_schema'
53
62
  require 'rustici_software_cloud_v2/models/import_result_schema'
54
63
  require 'rustici_software_cloud_v2/models/integer_result_schema'
55
64
  require 'rustici_software_cloud_v2/models/invitation_email_schema'
@@ -65,6 +74,7 @@ require 'rustici_software_cloud_v2/models/launch_link_request_schema'
65
74
  require 'rustici_software_cloud_v2/models/launch_link_schema'
66
75
  require 'rustici_software_cloud_v2/models/learner_preference_schema'
67
76
  require 'rustici_software_cloud_v2/models/learner_schema'
77
+ require 'rustici_software_cloud_v2/models/media_file_metadata_schema'
68
78
  require 'rustici_software_cloud_v2/models/message_schema'
69
79
  require 'rustici_software_cloud_v2/models/metadata_schema'
70
80
  require 'rustici_software_cloud_v2/models/objective_schema'
@@ -73,8 +83,10 @@ require 'rustici_software_cloud_v2/models/ping_schema'
73
83
  require 'rustici_software_cloud_v2/models/post_back_schema'
74
84
  require 'rustici_software_cloud_v2/models/private_invitation_list'
75
85
  require 'rustici_software_cloud_v2/models/private_invitation_schema'
86
+ require 'rustici_software_cloud_v2/models/private_invitation_update_schema'
76
87
  require 'rustici_software_cloud_v2/models/public_invitation_list'
77
88
  require 'rustici_software_cloud_v2/models/public_invitation_schema'
89
+ require 'rustici_software_cloud_v2/models/public_invitation_update_schema'
78
90
  require 'rustici_software_cloud_v2/models/registration_completion'
79
91
  require 'rustici_software_cloud_v2/models/registration_list_schema'
80
92
  require 'rustici_software_cloud_v2/models/registration_schema'
@@ -100,6 +112,7 @@ require 'rustici_software_cloud_v2/models/string_result_schema'
100
112
  require 'rustici_software_cloud_v2/models/tag_list_schema'
101
113
  require 'rustici_software_cloud_v2/models/title_schema'
102
114
  require 'rustici_software_cloud_v2/models/token_request_schema'
115
+ require 'rustici_software_cloud_v2/models/update_application_schema'
103
116
  require 'rustici_software_cloud_v2/models/update_dispatch_schema'
104
117
  require 'rustici_software_cloud_v2/models/user_invitation_list'
105
118
  require 'rustici_software_cloud_v2/models/user_invitation_schema'
@@ -29,6 +29,7 @@ Gem::Specification.new do |s|
29
29
 
30
30
  s.add_runtime_dependency 'typhoeus', '~> 1.0', '>= 1.0.1'
31
31
  s.add_runtime_dependency 'json', '~> 2.3', '>= 2.3.0'
32
+ s.add_runtime_dependency 'addressable', '~> 2.3', '>= 2.3.0'
32
33
 
33
34
  s.add_development_dependency 'rspec', '~> 3.6', '>= 3.6.0'
34
35
  s.add_development_dependency 'vcr', '~> 3.0', '>= 3.0.1'
@@ -42,4 +43,4 @@ Gem::Specification.new do |s|
42
43
  s.test_files = `find spec/*`.split("\n")
43
44
  s.executables = []
44
45
  s.require_paths = ["lib"]
45
- end
46
+ end
@@ -89,6 +89,23 @@ describe RusticiSoftwareCloudV2::ApiClient do
89
89
  end
90
90
  end
91
91
 
92
+ describe '#build_request' do
93
+ let(:config) { RusticiSoftwareCloudV2::Configuration.new }
94
+ let(:api_client) { RusticiSoftwareCloudV2::ApiClient.new(config) }
95
+
96
+ it 'does not send multipart to request' do
97
+ expect(Typhoeus::Request).to receive(:new).with(anything, hash_not_including(:multipart))
98
+ api_client.build_request(:get, '/test')
99
+ end
100
+
101
+ context 'when the content type is multipart' do
102
+ it 'sends multipart to request' do
103
+ expect(Typhoeus::Request).to receive(:new).with(anything, hash_including(multipart: true))
104
+ api_client.build_request(:get, '/test', {header_params: { 'Content-Type' => 'multipart/form-data'}})
105
+ end
106
+ end
107
+ end
108
+
92
109
  describe '#deserialize' do
93
110
  it "handles Array<Integer>" do
94
111
  api_client = RusticiSoftwareCloudV2::ApiClient.new
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rustici_software_cloud_v2
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 2.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rustici Software
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-03-23 00:00:00.000000000 Z
11
+ date: 2021-11-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus
@@ -50,6 +50,26 @@ dependencies:
50
50
  - - "~>"
51
51
  - !ruby/object:Gem::Version
52
52
  version: '2.3'
53
+ - !ruby/object:Gem::Dependency
54
+ name: addressable
55
+ requirement: !ruby/object:Gem::Requirement
56
+ requirements:
57
+ - - ">="
58
+ - !ruby/object:Gem::Version
59
+ version: 2.3.0
60
+ - - "~>"
61
+ - !ruby/object:Gem::Version
62
+ version: '2.3'
63
+ type: :runtime
64
+ prerelease: false
65
+ version_requirements: !ruby/object:Gem::Requirement
66
+ requirements:
67
+ - - ">="
68
+ - !ruby/object:Gem::Version
69
+ version: 2.3.0
70
+ - - "~>"
71
+ - !ruby/object:Gem::Version
72
+ version: '2.3'
53
73
  - !ruby/object:Gem::Dependency
54
74
  name: rspec
55
75
  requirement: !ruby/object:Gem::Requirement
@@ -219,9 +239,12 @@ files:
219
239
  - lib/rustici_software_cloud_v2/configuration.rb
220
240
  - lib/rustici_software_cloud_v2/models/about_schema.rb
221
241
  - lib/rustici_software_cloud_v2/models/activity_result_schema.rb
242
+ - lib/rustici_software_cloud_v2/models/application_info_schema.rb
222
243
  - lib/rustici_software_cloud_v2/models/application_list_schema.rb
244
+ - lib/rustici_software_cloud_v2/models/application_request_schema.rb
223
245
  - lib/rustici_software_cloud_v2/models/application_schema.rb
224
246
  - lib/rustici_software_cloud_v2/models/application_token.rb
247
+ - lib/rustici_software_cloud_v2/models/asset_file_schema.rb
225
248
  - lib/rustici_software_cloud_v2/models/batch_tags_schema.rb
226
249
  - lib/rustici_software_cloud_v2/models/comment_schema.rb
227
250
  - lib/rustici_software_cloud_v2/models/completion_amount_schema.rb
@@ -245,11 +268,17 @@ files:
245
268
  - lib/rustici_software_cloud_v2/models/destination_schema.rb
246
269
  - lib/rustici_software_cloud_v2/models/dispatch_id_schema.rb
247
270
  - lib/rustici_software_cloud_v2/models/dispatch_list_schema.rb
271
+ - lib/rustici_software_cloud_v2/models/dispatch_lti_info_schema.rb
248
272
  - lib/rustici_software_cloud_v2/models/dispatch_registration_count_schema.rb
249
273
  - lib/rustici_software_cloud_v2/models/dispatch_schema.rb
250
274
  - lib/rustici_software_cloud_v2/models/enabled_schema.rb
275
+ - lib/rustici_software_cloud_v2/models/file_list_item_schema.rb
276
+ - lib/rustici_software_cloud_v2/models/file_list_schema.rb
277
+ - lib/rustici_software_cloud_v2/models/import_asset_request_schema.rb
251
278
  - lib/rustici_software_cloud_v2/models/import_fetch_request_schema.rb
252
279
  - lib/rustici_software_cloud_v2/models/import_job_result_schema.rb
280
+ - lib/rustici_software_cloud_v2/models/import_media_file_reference_request_schema.rb
281
+ - lib/rustici_software_cloud_v2/models/import_request_schema.rb
253
282
  - lib/rustici_software_cloud_v2/models/import_result_schema.rb
254
283
  - lib/rustici_software_cloud_v2/models/integer_result_schema.rb
255
284
  - lib/rustici_software_cloud_v2/models/invitation_email_schema.rb
@@ -265,6 +294,7 @@ files:
265
294
  - lib/rustici_software_cloud_v2/models/launch_link_schema.rb
266
295
  - lib/rustici_software_cloud_v2/models/learner_preference_schema.rb
267
296
  - lib/rustici_software_cloud_v2/models/learner_schema.rb
297
+ - lib/rustici_software_cloud_v2/models/media_file_metadata_schema.rb
268
298
  - lib/rustici_software_cloud_v2/models/message_schema.rb
269
299
  - lib/rustici_software_cloud_v2/models/metadata_schema.rb
270
300
  - lib/rustici_software_cloud_v2/models/objective_schema.rb
@@ -273,8 +303,10 @@ files:
273
303
  - lib/rustici_software_cloud_v2/models/post_back_schema.rb
274
304
  - lib/rustici_software_cloud_v2/models/private_invitation_list.rb
275
305
  - lib/rustici_software_cloud_v2/models/private_invitation_schema.rb
306
+ - lib/rustici_software_cloud_v2/models/private_invitation_update_schema.rb
276
307
  - lib/rustici_software_cloud_v2/models/public_invitation_list.rb
277
308
  - lib/rustici_software_cloud_v2/models/public_invitation_schema.rb
309
+ - lib/rustici_software_cloud_v2/models/public_invitation_update_schema.rb
278
310
  - lib/rustici_software_cloud_v2/models/registration_completion.rb
279
311
  - lib/rustici_software_cloud_v2/models/registration_list_schema.rb
280
312
  - lib/rustici_software_cloud_v2/models/registration_schema.rb
@@ -300,6 +332,7 @@ files:
300
332
  - lib/rustici_software_cloud_v2/models/tag_list_schema.rb
301
333
  - lib/rustici_software_cloud_v2/models/title_schema.rb
302
334
  - lib/rustici_software_cloud_v2/models/token_request_schema.rb
335
+ - lib/rustici_software_cloud_v2/models/update_application_schema.rb
303
336
  - lib/rustici_software_cloud_v2/models/update_dispatch_schema.rb
304
337
  - lib/rustici_software_cloud_v2/models/user_invitation_list.rb
305
338
  - lib/rustici_software_cloud_v2/models/user_invitation_schema.rb