rustici_software_cloud_v2 1.0.1 → 1.0.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 02c6d0dae016900afb5b0411b2a037e14a51ca98
4
- data.tar.gz: ed676f93124cba4839203211def45f4a5ed4a0eb
2
+ SHA256:
3
+ metadata.gz: 643a97d01f730b178cbabd2b0ed798e459a423b06aa77e1d80c3a27c3667b25b
4
+ data.tar.gz: 3cdfb7dba39c40623659d99bcf5e56b35b7cc21f19e974f5729edf5ead0387e4
5
5
  SHA512:
6
- metadata.gz: bb85741cade3e91b269672b3067d6e7eee0cf0ce3eba0f56e300b5f5fe79566b731bcf43613220e53c288161e83377e4a2d79d5573847b0f31680601abddb43d
7
- data.tar.gz: c5e4a0ea831c67d3995f6f07313f502cf43faba311b2403c6724910c15da5f4ce2b7af368f42ffe3904a8c7313e8a4b946bf0251a50e4aca0f0026b254ac5701
6
+ metadata.gz: 7b4e53438de1110ddcb62a4272a8e51a40b996814f3f48cb8f97655824fdad6015d8514c63b76274e38c6824c540bb1f13d2c3d6c50905c664c6eef69b421686
7
+ data.tar.gz: 6b2b649a1fc7f24ff4a5e68e21dfcbbc913348b20fe66296065408d8eb04edb3043c49d94db9a7b842f8ec9b3d8c380b109599ccfb4f45354d0fe2ac4e383a50
data/README.md CHANGED
@@ -7,7 +7,7 @@ REST API used for SCORM Cloud integrations.
7
7
  This SDK is automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) project:
8
8
 
9
9
  - API version: 2.0
10
- - Package version: 1.0.1
10
+ - Package version: 1.0.2
11
11
  - Build package: io.swagger.codegen.languages.RubyClientCodegen
12
12
 
13
13
  ## Installation
@@ -23,15 +23,15 @@ gem build rustici_software_cloud_v2.gemspec
23
23
  Then either install the gem locally:
24
24
 
25
25
  ```shell
26
- gem install ./rustici_software_cloud_v2-1.0.1.gem
26
+ gem install ./rustici_software_cloud_v2-1.0.2.gem
27
27
  ```
28
- (for development, run `gem install --dev ./rustici_software_cloud_v2-1.0.1.gem` to install the development dependencies)
28
+ (for development, run `gem install --dev ./rustici_software_cloud_v2-1.0.2.gem` to install the development dependencies)
29
29
 
30
30
  or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
31
31
 
32
32
  Finally add this to the Gemfile:
33
33
 
34
- gem 'rustici_software_cloud_v2', '~> 1.0.1'
34
+ gem 'rustici_software_cloud_v2', '~> 1.0.2'
35
35
 
36
36
  ### Install from Git
37
37
 
@@ -175,6 +175,7 @@ Class | Method | HTTP request | Description
175
175
  *RusticiSoftwareCloudV2::LearnerApi* | [**get_learner_tags**](docs/LearnerApi.md#get_learner_tags) | **GET** /learner/{learnerId}/tags | Get the tags for this learner
176
176
  *RusticiSoftwareCloudV2::LearnerApi* | [**put_learner_tags**](docs/LearnerApi.md#put_learner_tags) | **PUT** /learner/{learnerId}/tags | Set the tags for this learner
177
177
  *RusticiSoftwareCloudV2::LearnerApi* | [**put_learner_tags_batch**](docs/LearnerApi.md#put_learner_tags_batch) | **PUT** /learner/tags | Sets all of the provided tags on all of the provided learners
178
+ *RusticiSoftwareCloudV2::LearnerApi* | [**update_learner_info**](docs/LearnerApi.md#update_learner_info) | **POST** /learner/{learnerId}/updateInfo | Update a learner's info on all of their registrations.
178
179
  *RusticiSoftwareCloudV2::PingApi* | [**ping_app_id**](docs/PingApi.md#ping_app_id) | **GET** /ping |
179
180
  *RusticiSoftwareCloudV2::RegistrationApi* | [**build_registration_launch_link**](docs/RegistrationApi.md#build_registration_launch_link) | **POST** /registrations/{registrationId}/launchLink | Get registration launch link.
180
181
  *RusticiSoftwareCloudV2::RegistrationApi* | [**create_new_registration_instance**](docs/RegistrationApi.md#create_new_registration_instance) | **POST** /registrations/{registrationId}/instances |
@@ -267,6 +268,8 @@ Class | Method | HTTP request | Description
267
268
  - [RusticiSoftwareCloudV2::InvitationSummaryList](docs/InvitationSummaryList.md)
268
269
  - [RusticiSoftwareCloudV2::InvitationSummarySchema](docs/InvitationSummarySchema.md)
269
270
  - [RusticiSoftwareCloudV2::ItemValuePairSchema](docs/ItemValuePairSchema.md)
271
+ - [RusticiSoftwareCloudV2::LaunchAuthOptionsSchema](docs/LaunchAuthOptionsSchema.md)
272
+ - [RusticiSoftwareCloudV2::LaunchAuthSchema](docs/LaunchAuthSchema.md)
270
273
  - [RusticiSoftwareCloudV2::LaunchHistoryListSchema](docs/LaunchHistoryListSchema.md)
271
274
  - [RusticiSoftwareCloudV2::LaunchHistorySchema](docs/LaunchHistorySchema.md)
272
275
  - [RusticiSoftwareCloudV2::LaunchLinkRequestSchema](docs/LaunchLinkRequestSchema.md)
@@ -322,6 +325,7 @@ Class | Method | HTTP request | Description
322
325
  - [RusticiSoftwareCloudV2::XapiCredentialAuthTypeSchema](docs/XapiCredentialAuthTypeSchema.md)
323
326
  - [RusticiSoftwareCloudV2::XapiCredentialPermissionsLevelSchema](docs/XapiCredentialPermissionsLevelSchema.md)
324
327
  - [RusticiSoftwareCloudV2::XapiCredentialPostSchema](docs/XapiCredentialPostSchema.md)
328
+ - [RusticiSoftwareCloudV2::XapiCredentialPutSchema](docs/XapiCredentialPutSchema.md)
325
329
  - [RusticiSoftwareCloudV2::XapiCredentialSchema](docs/XapiCredentialSchema.md)
326
330
  - [RusticiSoftwareCloudV2::XapiCredentialsListSchema](docs/XapiCredentialsListSchema.md)
327
331
  - [RusticiSoftwareCloudV2::XapiEndpointSchema](docs/XapiEndpointSchema.md)
@@ -331,6 +335,7 @@ Class | Method | HTTP request | Description
331
335
  - [RusticiSoftwareCloudV2::XapiStatement](docs/XapiStatement.md)
332
336
  - [RusticiSoftwareCloudV2::XapiStatementPipeListSchema](docs/XapiStatementPipeListSchema.md)
333
337
  - [RusticiSoftwareCloudV2::XapiStatementPipePostSchema](docs/XapiStatementPipePostSchema.md)
338
+ - [RusticiSoftwareCloudV2::XapiStatementPipePutSchema](docs/XapiStatementPipePutSchema.md)
334
339
  - [RusticiSoftwareCloudV2::XapiStatementPipeSchema](docs/XapiStatementPipeSchema.md)
335
340
  - [RusticiSoftwareCloudV2::XapiStatementReference](docs/XapiStatementReference.md)
336
341
  - [RusticiSoftwareCloudV2::XapiStatementResult](docs/XapiStatementResult.md)
@@ -292,5 +292,61 @@ module RusticiSoftwareCloudV2
292
292
  end
293
293
  return data, status_code, headers
294
294
  end
295
+
296
+ # Update a learner's info on all of their registrations.
297
+ # A learner in SCORM Cloud is not an entity on its own. In fact, learners only exist as information on individual registrations. This method will update the information on each of the registrations that the provided `learnerId` is attached to. You may update any of the values available in the LearnerSchema which is posted. Any values you do not wish to alter, omit from the post. Depending on the field, providing something like an empty string may have unintended consequences. Lastly, it's important to note that this method is asynchronous. A success status will be returned, and that signifies that a background process has been spun up to alter the learner's info. As such, you may find a short period of delay in seeing the changes shown on all registrations.
298
+ # @param learner_id The id of the learner to be updated
299
+ # @param learner_info
300
+ # @param [Hash] opts the optional parameters
301
+ # @return [nil]
302
+ def update_learner_info(learner_id, learner_info, opts = {})
303
+ update_learner_info_with_http_info(learner_id, learner_info, opts)
304
+ return nil
305
+ end
306
+
307
+ # Update a learner's info on all of their registrations.
308
+ # A learner in SCORM Cloud is not an entity on its own. In fact, learners only exist as information on individual registrations. This method will update the information on each of the registrations that the provided `learnerId` is attached to. You may update any of the values available in the LearnerSchema which is posted. Any values you do not wish to alter, omit from the post. Depending on the field, providing something like an empty string may have unintended consequences. Lastly, it's important to note that this method is asynchronous. A success status will be returned, and that signifies that a background process has been spun up to alter the learner's info. As such, you may find a short period of delay in seeing the changes shown on all registrations.
309
+ # @param learner_id The id of the learner to be updated
310
+ # @param learner_info
311
+ # @param [Hash] opts the optional parameters
312
+ # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
313
+ def update_learner_info_with_http_info(learner_id, learner_info, opts = {})
314
+ if @api_client.config.debugging
315
+ @api_client.config.logger.debug "Calling API: LearnerApi.update_learner_info ..."
316
+ end
317
+ # verify the required parameter 'learner_id' is set
318
+ fail ArgumentError, "Missing the required parameter 'learner_id' when calling LearnerApi.update_learner_info" if learner_id.nil?
319
+ # verify the required parameter 'learner_info' is set
320
+ fail ArgumentError, "Missing the required parameter 'learner_info' when calling LearnerApi.update_learner_info" if learner_info.nil?
321
+ # resource path
322
+ local_var_path = "/learner/{learnerId}/updateInfo".sub('{format}','json').sub('{' + 'learnerId' + '}', learner_id.to_s)
323
+
324
+ # query parameters
325
+ query_params = {}
326
+
327
+ # header parameters
328
+ header_params = {}
329
+ # HTTP header 'Accept' (if needed)
330
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
331
+ # HTTP header 'Content-Type'
332
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
333
+
334
+ # form parameters
335
+ form_params = {}
336
+
337
+ # http body (model)
338
+ post_body = @api_client.object_to_http_body(learner_info)
339
+ auth_names = ['APP_NORMAL', 'OAUTH']
340
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
341
+ :header_params => header_params,
342
+ :query_params => query_params,
343
+ :form_params => form_params,
344
+ :body => post_body,
345
+ :auth_names => auth_names)
346
+ if @api_client.config.debugging
347
+ @api_client.config.logger.debug "API called: LearnerApi#update_learner_info\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
348
+ end
349
+ return data, status_code, headers
350
+ end
295
351
  end
296
352
  end
@@ -26,6 +26,8 @@ module RusticiSoftwareCloudV2
26
26
  # Any provided notes about this Destination
27
27
  attr_accessor :notes
28
28
 
29
+ attr_accessor :launch_auth
30
+
29
31
 
30
32
  # Attribute mapping from ruby-style variable name to JSON key.
31
33
  def self.attribute_map
@@ -33,7 +35,8 @@ module RusticiSoftwareCloudV2
33
35
  :'name' => :'name',
34
36
  :'tags' => :'tags',
35
37
  :'email' => :'email',
36
- :'notes' => :'notes'
38
+ :'notes' => :'notes',
39
+ :'launch_auth' => :'launchAuth'
37
40
  }
38
41
  end
39
42
 
@@ -43,7 +46,8 @@ module RusticiSoftwareCloudV2
43
46
  :'name' => :'String',
44
47
  :'tags' => :'Array<String>',
45
48
  :'email' => :'String',
46
- :'notes' => :'String'
49
+ :'notes' => :'String',
50
+ :'launch_auth' => :'LaunchAuthSchema'
47
51
  }
48
52
  end
49
53
 
@@ -73,6 +77,10 @@ module RusticiSoftwareCloudV2
73
77
  self.notes = attributes[:'notes']
74
78
  end
75
79
 
80
+ if attributes.has_key?(:'launchAuth')
81
+ self.launch_auth = attributes[:'launchAuth']
82
+ end
83
+
76
84
  end
77
85
 
78
86
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -96,7 +104,8 @@ module RusticiSoftwareCloudV2
96
104
  name == o.name &&
97
105
  tags == o.tags &&
98
106
  email == o.email &&
99
- notes == o.notes
107
+ notes == o.notes &&
108
+ launch_auth == o.launch_auth
100
109
  end
101
110
 
102
111
  # @see the `==` method
@@ -108,7 +117,7 @@ module RusticiSoftwareCloudV2
108
117
  # Calculates hash code according to all attributes.
109
118
  # @return [Fixnum] Hash code
110
119
  def hash
111
- [name, tags, email, notes].hash
120
+ [name, tags, email, notes, launch_auth].hash
112
121
  end
113
122
 
114
123
  # Builds the object from hash
@@ -0,0 +1,214 @@
1
+ =begin
2
+ #SCORM Cloud Rest API
3
+
4
+ #REST API used for SCORM Cloud integrations.
5
+
6
+ OpenAPI spec version: 2.0
7
+
8
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
9
+
10
+ =end
11
+
12
+ require 'date'
13
+
14
+ module RusticiSoftwareCloudV2
15
+
16
+ class LaunchAuthOptionsSchema
17
+ attr_accessor :ip_address
18
+
19
+ attr_accessor :fingerprint
20
+
21
+ attr_accessor :expiry
22
+
23
+ attr_accessor :sliding_expiry
24
+
25
+
26
+ # Attribute mapping from ruby-style variable name to JSON key.
27
+ def self.attribute_map
28
+ {
29
+ :'ip_address' => :'ipAddress',
30
+ :'fingerprint' => :'fingerprint',
31
+ :'expiry' => :'expiry',
32
+ :'sliding_expiry' => :'slidingExpiry'
33
+ }
34
+ end
35
+
36
+ # Attribute type mapping.
37
+ def self.swagger_types
38
+ {
39
+ :'ip_address' => :'BOOLEAN',
40
+ :'fingerprint' => :'BOOLEAN',
41
+ :'expiry' => :'Integer',
42
+ :'sliding_expiry' => :'Integer'
43
+ }
44
+ end
45
+
46
+ # Initializes the object
47
+ # @param [Hash] attributes Model attributes in the form of hash
48
+ def initialize(attributes = {})
49
+ return unless attributes.is_a?(Hash)
50
+
51
+ # convert string to symbol for hash key
52
+ attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
53
+
54
+ if attributes.has_key?(:'ipAddress')
55
+ self.ip_address = attributes[:'ipAddress']
56
+ end
57
+
58
+ if attributes.has_key?(:'fingerprint')
59
+ self.fingerprint = attributes[:'fingerprint']
60
+ end
61
+
62
+ if attributes.has_key?(:'expiry')
63
+ self.expiry = attributes[:'expiry']
64
+ end
65
+
66
+ if attributes.has_key?(:'slidingExpiry')
67
+ self.sliding_expiry = attributes[:'slidingExpiry']
68
+ end
69
+
70
+ end
71
+
72
+ # Show invalid properties with the reasons. Usually used together with valid?
73
+ # @return Array for valid properies with the reasons
74
+ def list_invalid_properties
75
+ invalid_properties = Array.new
76
+ return invalid_properties
77
+ end
78
+
79
+ # Check to see if the all the properties in the model are valid
80
+ # @return true if the model is valid
81
+ def valid?
82
+ return true
83
+ end
84
+
85
+ # Checks equality by comparing each attribute.
86
+ # @param [Object] Object to be compared
87
+ def ==(o)
88
+ return true if self.equal?(o)
89
+ self.class == o.class &&
90
+ ip_address == o.ip_address &&
91
+ fingerprint == o.fingerprint &&
92
+ expiry == o.expiry &&
93
+ sliding_expiry == o.sliding_expiry
94
+ end
95
+
96
+ # @see the `==` method
97
+ # @param [Object] Object to be compared
98
+ def eql?(o)
99
+ self == o
100
+ end
101
+
102
+ # Calculates hash code according to all attributes.
103
+ # @return [Fixnum] Hash code
104
+ def hash
105
+ [ip_address, fingerprint, expiry, sliding_expiry].hash
106
+ end
107
+
108
+ # Builds the object from hash
109
+ # @param [Hash] attributes Model attributes in the form of hash
110
+ # @return [Object] Returns the model itself
111
+ def build_from_hash(attributes)
112
+ return nil unless attributes.is_a?(Hash)
113
+ self.class.swagger_types.each_pair do |key, type|
114
+ if type =~ /\AArray<(.*)>/i
115
+ # check to ensure the input is an array given that the the attribute
116
+ # is documented as an array but the input is not
117
+ if attributes[self.class.attribute_map[key]].is_a?(Array)
118
+ self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } )
119
+ end
120
+ elsif !attributes[self.class.attribute_map[key]].nil?
121
+ self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
122
+ end # or else data not found in attributes(hash), not an issue as the data can be optional
123
+ end
124
+
125
+ self
126
+ end
127
+
128
+ # Deserializes the data based on type
129
+ # @param string type Data type
130
+ # @param string value Value to be deserialized
131
+ # @return [Object] Deserialized data
132
+ def _deserialize(type, value)
133
+ case type.to_sym
134
+ when :DateTime
135
+ DateTime.parse(value)
136
+ when :Date
137
+ Date.parse(value)
138
+ when :String
139
+ value.to_s
140
+ when :Integer
141
+ value.to_i
142
+ when :Float
143
+ value.to_f
144
+ when :BOOLEAN
145
+ if value.to_s =~ /\A(true|t|yes|y|1)\z/i
146
+ true
147
+ else
148
+ false
149
+ end
150
+ when :Object
151
+ # generic object (usually a Hash), return directly
152
+ value
153
+ when /\AArray<(?<inner_type>.+)>\z/
154
+ inner_type = Regexp.last_match[:inner_type]
155
+ value.map { |v| _deserialize(inner_type, v) }
156
+ when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
157
+ k_type = Regexp.last_match[:k_type]
158
+ v_type = Regexp.last_match[:v_type]
159
+ {}.tap do |hash|
160
+ value.each do |k, v|
161
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
162
+ end
163
+ end
164
+ else # model
165
+ temp_model = RusticiSoftwareCloudV2.const_get(type).new
166
+ temp_model.build_from_hash(value)
167
+ end
168
+ end
169
+
170
+ # Returns the string representation of the object
171
+ # @return [String] String presentation of the object
172
+ def to_s
173
+ to_hash.to_s
174
+ end
175
+
176
+ # to_body is an alias to to_hash (backward compatibility)
177
+ # @return [Hash] Returns the object in the form of hash
178
+ def to_body
179
+ to_hash
180
+ end
181
+
182
+ # Returns the object in the form of hash
183
+ # @return [Hash] Returns the object in the form of hash
184
+ def to_hash
185
+ hash = {}
186
+ self.class.attribute_map.each_pair do |attr, param|
187
+ value = self.send(attr)
188
+ next if value.nil?
189
+ hash[param] = _to_hash(value)
190
+ end
191
+ hash
192
+ end
193
+
194
+ # Outputs non-array value in the form of hash
195
+ # For object, use to_hash. Otherwise, just return the value
196
+ # @param [Object] value Any valid value
197
+ # @return [Hash] Returns the value in the form of hash
198
+ def _to_hash(value)
199
+ if value.is_a?(Array)
200
+ value.compact.map{ |v| _to_hash(v) }
201
+ elsif value.is_a?(Hash)
202
+ {}.tap do |hash|
203
+ value.each { |k, v| hash[k] = _to_hash(v) }
204
+ end
205
+ elsif value.respond_to? :to_hash
206
+ value.to_hash
207
+ else
208
+ value
209
+ end
210
+ end
211
+
212
+ end
213
+
214
+ end
@@ -0,0 +1,231 @@
1
+ =begin
2
+ #SCORM Cloud Rest API
3
+
4
+ #REST API used for SCORM Cloud integrations.
5
+
6
+ OpenAPI spec version: 2.0
7
+
8
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
9
+
10
+ =end
11
+
12
+ require 'date'
13
+
14
+ module RusticiSoftwareCloudV2
15
+
16
+ class LaunchAuthSchema
17
+ attr_accessor :type
18
+
19
+ attr_accessor :options
20
+
21
+ class EnumAttributeValidator
22
+ attr_reader :datatype
23
+ attr_reader :allowable_values
24
+
25
+ def initialize(datatype, allowable_values)
26
+ @allowable_values = allowable_values.map do |value|
27
+ case datatype.to_s
28
+ when /Integer/i
29
+ value.to_i
30
+ when /Float/i
31
+ value.to_f
32
+ else
33
+ value
34
+ end
35
+ end
36
+ end
37
+
38
+ def valid?(value)
39
+ !value || allowable_values.include?(value)
40
+ end
41
+ end
42
+
43
+ # Attribute mapping from ruby-style variable name to JSON key.
44
+ def self.attribute_map
45
+ {
46
+ :'type' => :'type',
47
+ :'options' => :'options'
48
+ }
49
+ end
50
+
51
+ # Attribute type mapping.
52
+ def self.swagger_types
53
+ {
54
+ :'type' => :'String',
55
+ :'options' => :'LaunchAuthOptionsSchema'
56
+ }
57
+ end
58
+
59
+ # Initializes the object
60
+ # @param [Hash] attributes Model attributes in the form of hash
61
+ def initialize(attributes = {})
62
+ return unless attributes.is_a?(Hash)
63
+
64
+ # convert string to symbol for hash key
65
+ attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
66
+
67
+ if attributes.has_key?(:'type')
68
+ self.type = attributes[:'type']
69
+ else
70
+ self.type = "cookies"
71
+ end
72
+
73
+ if attributes.has_key?(:'options')
74
+ self.options = attributes[:'options']
75
+ end
76
+
77
+ end
78
+
79
+ # Show invalid properties with the reasons. Usually used together with valid?
80
+ # @return Array for valid properies with the reasons
81
+ def list_invalid_properties
82
+ invalid_properties = Array.new
83
+ return invalid_properties
84
+ end
85
+
86
+ # Check to see if the all the properties in the model are valid
87
+ # @return true if the model is valid
88
+ def valid?
89
+ type_validator = EnumAttributeValidator.new('String', ["cookies", "vault"])
90
+ return false unless type_validator.valid?(@type)
91
+ return true
92
+ end
93
+
94
+ # Custom attribute writer method checking allowed values (enum).
95
+ # @param [Object] type Object to be assigned
96
+ def type=(type)
97
+ validator = EnumAttributeValidator.new('String', ["cookies", "vault"])
98
+ unless validator.valid?(type)
99
+ fail ArgumentError, "invalid value for 'type', must be one of #{validator.allowable_values}."
100
+ end
101
+ @type = type
102
+ end
103
+
104
+ # Checks equality by comparing each attribute.
105
+ # @param [Object] Object to be compared
106
+ def ==(o)
107
+ return true if self.equal?(o)
108
+ self.class == o.class &&
109
+ type == o.type &&
110
+ options == o.options
111
+ end
112
+
113
+ # @see the `==` method
114
+ # @param [Object] Object to be compared
115
+ def eql?(o)
116
+ self == o
117
+ end
118
+
119
+ # Calculates hash code according to all attributes.
120
+ # @return [Fixnum] Hash code
121
+ def hash
122
+ [type, options].hash
123
+ end
124
+
125
+ # Builds the object from hash
126
+ # @param [Hash] attributes Model attributes in the form of hash
127
+ # @return [Object] Returns the model itself
128
+ def build_from_hash(attributes)
129
+ return nil unless attributes.is_a?(Hash)
130
+ self.class.swagger_types.each_pair do |key, type|
131
+ if type =~ /\AArray<(.*)>/i
132
+ # check to ensure the input is an array given that the the attribute
133
+ # is documented as an array but the input is not
134
+ if attributes[self.class.attribute_map[key]].is_a?(Array)
135
+ self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } )
136
+ end
137
+ elsif !attributes[self.class.attribute_map[key]].nil?
138
+ self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
139
+ end # or else data not found in attributes(hash), not an issue as the data can be optional
140
+ end
141
+
142
+ self
143
+ end
144
+
145
+ # Deserializes the data based on type
146
+ # @param string type Data type
147
+ # @param string value Value to be deserialized
148
+ # @return [Object] Deserialized data
149
+ def _deserialize(type, value)
150
+ case type.to_sym
151
+ when :DateTime
152
+ DateTime.parse(value)
153
+ when :Date
154
+ Date.parse(value)
155
+ when :String
156
+ value.to_s
157
+ when :Integer
158
+ value.to_i
159
+ when :Float
160
+ value.to_f
161
+ when :BOOLEAN
162
+ if value.to_s =~ /\A(true|t|yes|y|1)\z/i
163
+ true
164
+ else
165
+ false
166
+ end
167
+ when :Object
168
+ # generic object (usually a Hash), return directly
169
+ value
170
+ when /\AArray<(?<inner_type>.+)>\z/
171
+ inner_type = Regexp.last_match[:inner_type]
172
+ value.map { |v| _deserialize(inner_type, v) }
173
+ when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
174
+ k_type = Regexp.last_match[:k_type]
175
+ v_type = Regexp.last_match[:v_type]
176
+ {}.tap do |hash|
177
+ value.each do |k, v|
178
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
179
+ end
180
+ end
181
+ else # model
182
+ temp_model = RusticiSoftwareCloudV2.const_get(type).new
183
+ temp_model.build_from_hash(value)
184
+ end
185
+ end
186
+
187
+ # Returns the string representation of the object
188
+ # @return [String] String presentation of the object
189
+ def to_s
190
+ to_hash.to_s
191
+ end
192
+
193
+ # to_body is an alias to to_hash (backward compatibility)
194
+ # @return [Hash] Returns the object in the form of hash
195
+ def to_body
196
+ to_hash
197
+ end
198
+
199
+ # Returns the object in the form of hash
200
+ # @return [Hash] Returns the object in the form of hash
201
+ def to_hash
202
+ hash = {}
203
+ self.class.attribute_map.each_pair do |attr, param|
204
+ value = self.send(attr)
205
+ next if value.nil?
206
+ hash[param] = _to_hash(value)
207
+ end
208
+ hash
209
+ end
210
+
211
+ # Outputs non-array value in the form of hash
212
+ # For object, use to_hash. Otherwise, just return the value
213
+ # @param [Object] value Any valid value
214
+ # @return [Hash] Returns the value in the form of hash
215
+ def _to_hash(value)
216
+ if value.is_a?(Array)
217
+ value.compact.map{ |v| _to_hash(v) }
218
+ elsif value.is_a?(Hash)
219
+ {}.tap do |hash|
220
+ value.each { |k, v| hash[k] = _to_hash(v) }
221
+ end
222
+ elsif value.respond_to? :to_hash
223
+ value.to_hash
224
+ else
225
+ value
226
+ end
227
+ end
228
+
229
+ end
230
+
231
+ end
@@ -40,6 +40,8 @@ module RusticiSoftwareCloudV2
40
40
 
41
41
  attr_accessor :additionalvalues
42
42
 
43
+ attr_accessor :launch_auth
44
+
43
45
 
44
46
  # Attribute mapping from ruby-style variable name to JSON key.
45
47
  def self.attribute_map
@@ -53,7 +55,8 @@ module RusticiSoftwareCloudV2
53
55
  :'learner_tags' => :'learnerTags',
54
56
  :'course_tags' => :'courseTags',
55
57
  :'registration_tags' => :'registrationTags',
56
- :'additionalvalues' => :'additionalvalues'
58
+ :'additionalvalues' => :'additionalvalues',
59
+ :'launch_auth' => :'launchAuth'
57
60
  }
58
61
  end
59
62
 
@@ -69,7 +72,8 @@ module RusticiSoftwareCloudV2
69
72
  :'learner_tags' => :'Array<String>',
70
73
  :'course_tags' => :'Array<String>',
71
74
  :'registration_tags' => :'Array<String>',
72
- :'additionalvalues' => :'Array<ItemValuePairSchema>'
75
+ :'additionalvalues' => :'Array<ItemValuePairSchema>',
76
+ :'launch_auth' => :'LaunchAuthSchema'
73
77
  }
74
78
  end
75
79
 
@@ -133,6 +137,10 @@ module RusticiSoftwareCloudV2
133
137
  end
134
138
  end
135
139
 
140
+ if attributes.has_key?(:'launchAuth')
141
+ self.launch_auth = attributes[:'launchAuth']
142
+ end
143
+
136
144
  end
137
145
 
138
146
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -167,7 +175,8 @@ module RusticiSoftwareCloudV2
167
175
  learner_tags == o.learner_tags &&
168
176
  course_tags == o.course_tags &&
169
177
  registration_tags == o.registration_tags &&
170
- additionalvalues == o.additionalvalues
178
+ additionalvalues == o.additionalvalues &&
179
+ launch_auth == o.launch_auth
171
180
  end
172
181
 
173
182
  # @see the `==` method
@@ -179,7 +188,7 @@ module RusticiSoftwareCloudV2
179
188
  # Calculates hash code according to all attributes.
180
189
  # @return [Fixnum] Hash code
181
190
  def hash
182
- [expiry, redirect_on_exit_url, tracking, start_sco, culture, css_url, learner_tags, course_tags, registration_tags, additionalvalues].hash
191
+ [expiry, redirect_on_exit_url, tracking, start_sco, culture, css_url, learner_tags, course_tags, registration_tags, additionalvalues, launch_auth].hash
183
192
  end
184
193
 
185
194
  # Builds the object from hash
@@ -93,6 +93,10 @@ module RusticiSoftwareCloudV2
93
93
  invalid_properties.push("invalid value for 'name', name cannot be nil.")
94
94
  end
95
95
 
96
+ if @secret.nil?
97
+ invalid_properties.push("invalid value for 'secret', secret cannot be nil.")
98
+ end
99
+
96
100
  if @is_enabled.nil?
97
101
  invalid_properties.push("invalid value for 'is_enabled', is_enabled cannot be nil.")
98
102
  end
@@ -112,6 +116,7 @@ module RusticiSoftwareCloudV2
112
116
  # @return true if the model is valid
113
117
  def valid?
114
118
  return false if @name.nil?
119
+ return false if @secret.nil?
115
120
  return false if @is_enabled.nil?
116
121
  return false if @auth.nil?
117
122
  return false if @permissions_level.nil?
@@ -0,0 +1,241 @@
1
+ =begin
2
+ #SCORM Cloud Rest API
3
+
4
+ #REST API used for SCORM Cloud integrations.
5
+
6
+ OpenAPI spec version: 2.0
7
+
8
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
9
+
10
+ =end
11
+
12
+ require 'date'
13
+
14
+ module RusticiSoftwareCloudV2
15
+
16
+ class XapiCredentialPutSchema
17
+ attr_accessor :id
18
+
19
+ attr_accessor :name
20
+
21
+ attr_accessor :info
22
+
23
+ attr_accessor :secret
24
+
25
+ attr_accessor :is_enabled
26
+
27
+ attr_accessor :auth
28
+
29
+ attr_accessor :permissions_level
30
+
31
+
32
+ # Attribute mapping from ruby-style variable name to JSON key.
33
+ def self.attribute_map
34
+ {
35
+ :'id' => :'id',
36
+ :'name' => :'name',
37
+ :'info' => :'info',
38
+ :'secret' => :'secret',
39
+ :'is_enabled' => :'isEnabled',
40
+ :'auth' => :'auth',
41
+ :'permissions_level' => :'permissionsLevel'
42
+ }
43
+ end
44
+
45
+ # Attribute type mapping.
46
+ def self.swagger_types
47
+ {
48
+ :'id' => :'String',
49
+ :'name' => :'String',
50
+ :'info' => :'String',
51
+ :'secret' => :'String',
52
+ :'is_enabled' => :'BOOLEAN',
53
+ :'auth' => :'XapiCredentialAuthTypeSchema',
54
+ :'permissions_level' => :'XapiCredentialPermissionsLevelSchema'
55
+ }
56
+ end
57
+
58
+ # Initializes the object
59
+ # @param [Hash] attributes Model attributes in the form of hash
60
+ def initialize(attributes = {})
61
+ return unless attributes.is_a?(Hash)
62
+
63
+ # convert string to symbol for hash key
64
+ attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
65
+
66
+ if attributes.has_key?(:'id')
67
+ self.id = attributes[:'id']
68
+ end
69
+
70
+ if attributes.has_key?(:'name')
71
+ self.name = attributes[:'name']
72
+ end
73
+
74
+ if attributes.has_key?(:'info')
75
+ self.info = attributes[:'info']
76
+ end
77
+
78
+ if attributes.has_key?(:'secret')
79
+ self.secret = attributes[:'secret']
80
+ end
81
+
82
+ if attributes.has_key?(:'isEnabled')
83
+ self.is_enabled = attributes[:'isEnabled']
84
+ end
85
+
86
+ if attributes.has_key?(:'auth')
87
+ self.auth = attributes[:'auth']
88
+ end
89
+
90
+ if attributes.has_key?(:'permissionsLevel')
91
+ self.permissions_level = attributes[:'permissionsLevel']
92
+ end
93
+
94
+ end
95
+
96
+ # Show invalid properties with the reasons. Usually used together with valid?
97
+ # @return Array for valid properies with the reasons
98
+ def list_invalid_properties
99
+ invalid_properties = Array.new
100
+ return invalid_properties
101
+ end
102
+
103
+ # Check to see if the all the properties in the model are valid
104
+ # @return true if the model is valid
105
+ def valid?
106
+ return true
107
+ end
108
+
109
+ # Checks equality by comparing each attribute.
110
+ # @param [Object] Object to be compared
111
+ def ==(o)
112
+ return true if self.equal?(o)
113
+ self.class == o.class &&
114
+ id == o.id &&
115
+ name == o.name &&
116
+ info == o.info &&
117
+ secret == o.secret &&
118
+ is_enabled == o.is_enabled &&
119
+ auth == o.auth &&
120
+ permissions_level == o.permissions_level
121
+ end
122
+
123
+ # @see the `==` method
124
+ # @param [Object] Object to be compared
125
+ def eql?(o)
126
+ self == o
127
+ end
128
+
129
+ # Calculates hash code according to all attributes.
130
+ # @return [Fixnum] Hash code
131
+ def hash
132
+ [id, name, info, secret, is_enabled, auth, permissions_level].hash
133
+ end
134
+
135
+ # Builds the object from hash
136
+ # @param [Hash] attributes Model attributes in the form of hash
137
+ # @return [Object] Returns the model itself
138
+ def build_from_hash(attributes)
139
+ return nil unless attributes.is_a?(Hash)
140
+ self.class.swagger_types.each_pair do |key, type|
141
+ if type =~ /\AArray<(.*)>/i
142
+ # check to ensure the input is an array given that the the attribute
143
+ # is documented as an array but the input is not
144
+ if attributes[self.class.attribute_map[key]].is_a?(Array)
145
+ self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } )
146
+ end
147
+ elsif !attributes[self.class.attribute_map[key]].nil?
148
+ self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
149
+ end # or else data not found in attributes(hash), not an issue as the data can be optional
150
+ end
151
+
152
+ self
153
+ end
154
+
155
+ # Deserializes the data based on type
156
+ # @param string type Data type
157
+ # @param string value Value to be deserialized
158
+ # @return [Object] Deserialized data
159
+ def _deserialize(type, value)
160
+ case type.to_sym
161
+ when :DateTime
162
+ DateTime.parse(value)
163
+ when :Date
164
+ Date.parse(value)
165
+ when :String
166
+ value.to_s
167
+ when :Integer
168
+ value.to_i
169
+ when :Float
170
+ value.to_f
171
+ when :BOOLEAN
172
+ if value.to_s =~ /\A(true|t|yes|y|1)\z/i
173
+ true
174
+ else
175
+ false
176
+ end
177
+ when :Object
178
+ # generic object (usually a Hash), return directly
179
+ value
180
+ when /\AArray<(?<inner_type>.+)>\z/
181
+ inner_type = Regexp.last_match[:inner_type]
182
+ value.map { |v| _deserialize(inner_type, v) }
183
+ when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
184
+ k_type = Regexp.last_match[:k_type]
185
+ v_type = Regexp.last_match[:v_type]
186
+ {}.tap do |hash|
187
+ value.each do |k, v|
188
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
189
+ end
190
+ end
191
+ else # model
192
+ temp_model = RusticiSoftwareCloudV2.const_get(type).new
193
+ temp_model.build_from_hash(value)
194
+ end
195
+ end
196
+
197
+ # Returns the string representation of the object
198
+ # @return [String] String presentation of the object
199
+ def to_s
200
+ to_hash.to_s
201
+ end
202
+
203
+ # to_body is an alias to to_hash (backward compatibility)
204
+ # @return [Hash] Returns the object in the form of hash
205
+ def to_body
206
+ to_hash
207
+ end
208
+
209
+ # Returns the object in the form of hash
210
+ # @return [Hash] Returns the object in the form of hash
211
+ def to_hash
212
+ hash = {}
213
+ self.class.attribute_map.each_pair do |attr, param|
214
+ value = self.send(attr)
215
+ next if value.nil?
216
+ hash[param] = _to_hash(value)
217
+ end
218
+ hash
219
+ end
220
+
221
+ # Outputs non-array value in the form of hash
222
+ # For object, use to_hash. Otherwise, just return the value
223
+ # @param [Object] value Any valid value
224
+ # @return [Hash] Returns the value in the form of hash
225
+ def _to_hash(value)
226
+ if value.is_a?(Array)
227
+ value.compact.map{ |v| _to_hash(v) }
228
+ elsif value.is_a?(Hash)
229
+ {}.tap do |hash|
230
+ value.each { |k, v| hash[k] = _to_hash(v) }
231
+ end
232
+ elsif value.respond_to? :to_hash
233
+ value.to_hash
234
+ else
235
+ value
236
+ end
237
+ end
238
+
239
+ end
240
+
241
+ end
@@ -57,12 +57,17 @@ module RusticiSoftwareCloudV2
57
57
  # @return Array for valid properies with the reasons
58
58
  def list_invalid_properties
59
59
  invalid_properties = Array.new
60
+ if @target.nil?
61
+ invalid_properties.push("invalid value for 'target', target cannot be nil.")
62
+ end
63
+
60
64
  return invalid_properties
61
65
  end
62
66
 
63
67
  # Check to see if the all the properties in the model are valid
64
68
  # @return true if the model is valid
65
69
  def valid?
70
+ return false if @target.nil?
66
71
  return true
67
72
  end
68
73
 
@@ -0,0 +1,196 @@
1
+ =begin
2
+ #SCORM Cloud Rest API
3
+
4
+ #REST API used for SCORM Cloud integrations.
5
+
6
+ OpenAPI spec version: 2.0
7
+
8
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
9
+
10
+ =end
11
+
12
+ require 'date'
13
+
14
+ module RusticiSoftwareCloudV2
15
+
16
+ class XapiStatementPipePutSchema
17
+ attr_accessor :source
18
+
19
+ attr_accessor :target
20
+
21
+
22
+ # Attribute mapping from ruby-style variable name to JSON key.
23
+ def self.attribute_map
24
+ {
25
+ :'source' => :'source',
26
+ :'target' => :'target'
27
+ }
28
+ end
29
+
30
+ # Attribute type mapping.
31
+ def self.swagger_types
32
+ {
33
+ :'source' => :'XapiEndpointSchema',
34
+ :'target' => :'XapiEndpointSchema'
35
+ }
36
+ end
37
+
38
+ # Initializes the object
39
+ # @param [Hash] attributes Model attributes in the form of hash
40
+ def initialize(attributes = {})
41
+ return unless attributes.is_a?(Hash)
42
+
43
+ # convert string to symbol for hash key
44
+ attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
45
+
46
+ if attributes.has_key?(:'source')
47
+ self.source = attributes[:'source']
48
+ end
49
+
50
+ if attributes.has_key?(:'target')
51
+ self.target = attributes[:'target']
52
+ end
53
+
54
+ end
55
+
56
+ # Show invalid properties with the reasons. Usually used together with valid?
57
+ # @return Array for valid properies with the reasons
58
+ def list_invalid_properties
59
+ invalid_properties = Array.new
60
+ return invalid_properties
61
+ end
62
+
63
+ # Check to see if the all the properties in the model are valid
64
+ # @return true if the model is valid
65
+ def valid?
66
+ return true
67
+ end
68
+
69
+ # Checks equality by comparing each attribute.
70
+ # @param [Object] Object to be compared
71
+ def ==(o)
72
+ return true if self.equal?(o)
73
+ self.class == o.class &&
74
+ source == o.source &&
75
+ target == o.target
76
+ end
77
+
78
+ # @see the `==` method
79
+ # @param [Object] Object to be compared
80
+ def eql?(o)
81
+ self == o
82
+ end
83
+
84
+ # Calculates hash code according to all attributes.
85
+ # @return [Fixnum] Hash code
86
+ def hash
87
+ [source, target].hash
88
+ end
89
+
90
+ # Builds the object from hash
91
+ # @param [Hash] attributes Model attributes in the form of hash
92
+ # @return [Object] Returns the model itself
93
+ def build_from_hash(attributes)
94
+ return nil unless attributes.is_a?(Hash)
95
+ self.class.swagger_types.each_pair do |key, type|
96
+ if type =~ /\AArray<(.*)>/i
97
+ # check to ensure the input is an array given that the the attribute
98
+ # is documented as an array but the input is not
99
+ if attributes[self.class.attribute_map[key]].is_a?(Array)
100
+ self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } )
101
+ end
102
+ elsif !attributes[self.class.attribute_map[key]].nil?
103
+ self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
104
+ end # or else data not found in attributes(hash), not an issue as the data can be optional
105
+ end
106
+
107
+ self
108
+ end
109
+
110
+ # Deserializes the data based on type
111
+ # @param string type Data type
112
+ # @param string value Value to be deserialized
113
+ # @return [Object] Deserialized data
114
+ def _deserialize(type, value)
115
+ case type.to_sym
116
+ when :DateTime
117
+ DateTime.parse(value)
118
+ when :Date
119
+ Date.parse(value)
120
+ when :String
121
+ value.to_s
122
+ when :Integer
123
+ value.to_i
124
+ when :Float
125
+ value.to_f
126
+ when :BOOLEAN
127
+ if value.to_s =~ /\A(true|t|yes|y|1)\z/i
128
+ true
129
+ else
130
+ false
131
+ end
132
+ when :Object
133
+ # generic object (usually a Hash), return directly
134
+ value
135
+ when /\AArray<(?<inner_type>.+)>\z/
136
+ inner_type = Regexp.last_match[:inner_type]
137
+ value.map { |v| _deserialize(inner_type, v) }
138
+ when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
139
+ k_type = Regexp.last_match[:k_type]
140
+ v_type = Regexp.last_match[:v_type]
141
+ {}.tap do |hash|
142
+ value.each do |k, v|
143
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
144
+ end
145
+ end
146
+ else # model
147
+ temp_model = RusticiSoftwareCloudV2.const_get(type).new
148
+ temp_model.build_from_hash(value)
149
+ end
150
+ end
151
+
152
+ # Returns the string representation of the object
153
+ # @return [String] String presentation of the object
154
+ def to_s
155
+ to_hash.to_s
156
+ end
157
+
158
+ # to_body is an alias to to_hash (backward compatibility)
159
+ # @return [Hash] Returns the object in the form of hash
160
+ def to_body
161
+ to_hash
162
+ end
163
+
164
+ # Returns the object in the form of hash
165
+ # @return [Hash] Returns the object in the form of hash
166
+ def to_hash
167
+ hash = {}
168
+ self.class.attribute_map.each_pair do |attr, param|
169
+ value = self.send(attr)
170
+ next if value.nil?
171
+ hash[param] = _to_hash(value)
172
+ end
173
+ hash
174
+ end
175
+
176
+ # Outputs non-array value in the form of hash
177
+ # For object, use to_hash. Otherwise, just return the value
178
+ # @param [Object] value Any valid value
179
+ # @return [Hash] Returns the value in the form of hash
180
+ def _to_hash(value)
181
+ if value.is_a?(Array)
182
+ value.compact.map{ |v| _to_hash(v) }
183
+ elsif value.is_a?(Hash)
184
+ {}.tap do |hash|
185
+ value.each { |k, v| hash[k] = _to_hash(v) }
186
+ end
187
+ elsif value.respond_to? :to_hash
188
+ value.to_hash
189
+ else
190
+ value
191
+ end
192
+ end
193
+
194
+ end
195
+
196
+ end
@@ -10,5 +10,5 @@ Generated by: https://github.com/swagger-api/swagger-codegen.git
10
10
  =end
11
11
 
12
12
  module RusticiSoftwareCloudV2
13
- VERSION = "1.0.1"
13
+ VERSION = "1.0.2"
14
14
  end
@@ -56,6 +56,8 @@ require 'rustici_software_cloud_v2/models/invitation_job_status_schema'
56
56
  require 'rustici_software_cloud_v2/models/invitation_summary_list'
57
57
  require 'rustici_software_cloud_v2/models/invitation_summary_schema'
58
58
  require 'rustici_software_cloud_v2/models/item_value_pair_schema'
59
+ require 'rustici_software_cloud_v2/models/launch_auth_options_schema'
60
+ require 'rustici_software_cloud_v2/models/launch_auth_schema'
59
61
  require 'rustici_software_cloud_v2/models/launch_history_list_schema'
60
62
  require 'rustici_software_cloud_v2/models/launch_history_schema'
61
63
  require 'rustici_software_cloud_v2/models/launch_link_request_schema'
@@ -111,6 +113,7 @@ require 'rustici_software_cloud_v2/models/xapi_context_activity'
111
113
  require 'rustici_software_cloud_v2/models/xapi_credential_auth_type_schema'
112
114
  require 'rustici_software_cloud_v2/models/xapi_credential_permissions_level_schema'
113
115
  require 'rustici_software_cloud_v2/models/xapi_credential_post_schema'
116
+ require 'rustici_software_cloud_v2/models/xapi_credential_put_schema'
114
117
  require 'rustici_software_cloud_v2/models/xapi_credential_schema'
115
118
  require 'rustici_software_cloud_v2/models/xapi_credentials_list_schema'
116
119
  require 'rustici_software_cloud_v2/models/xapi_endpoint_schema'
@@ -120,6 +123,7 @@ require 'rustici_software_cloud_v2/models/xapi_score'
120
123
  require 'rustici_software_cloud_v2/models/xapi_statement'
121
124
  require 'rustici_software_cloud_v2/models/xapi_statement_pipe_list_schema'
122
125
  require 'rustici_software_cloud_v2/models/xapi_statement_pipe_post_schema'
126
+ require 'rustici_software_cloud_v2/models/xapi_statement_pipe_put_schema'
123
127
  require 'rustici_software_cloud_v2/models/xapi_statement_pipe_schema'
124
128
  require 'rustici_software_cloud_v2/models/xapi_statement_reference'
125
129
  require 'rustici_software_cloud_v2/models/xapi_statement_result'
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.0.1
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rustici Software
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-11-04 00:00:00.000000000 Z
11
+ date: 2020-03-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus
@@ -54,22 +54,22 @@ dependencies:
54
54
  name: rspec
55
55
  requirement: !ruby/object:Gem::Requirement
56
56
  requirements:
57
- - - "~>"
58
- - !ruby/object:Gem::Version
59
- version: '3.4'
60
57
  - - ">="
61
58
  - !ruby/object:Gem::Version
62
59
  version: 3.4.0
60
+ - - "~>"
61
+ - !ruby/object:Gem::Version
62
+ version: '3.4'
63
63
  type: :development
64
64
  prerelease: false
65
65
  version_requirements: !ruby/object:Gem::Requirement
66
66
  requirements:
67
- - - "~>"
68
- - !ruby/object:Gem::Version
69
- version: '3.4'
70
67
  - - ">="
71
68
  - !ruby/object:Gem::Version
72
69
  version: 3.4.0
70
+ - - "~>"
71
+ - !ruby/object:Gem::Version
72
+ version: '3.4'
73
73
  - !ruby/object:Gem::Dependency
74
74
  name: vcr
75
75
  requirement: !ruby/object:Gem::Requirement
@@ -257,6 +257,8 @@ files:
257
257
  - lib/rustici_software_cloud_v2/models/invitation_summary_list.rb
258
258
  - lib/rustici_software_cloud_v2/models/invitation_summary_schema.rb
259
259
  - lib/rustici_software_cloud_v2/models/item_value_pair_schema.rb
260
+ - lib/rustici_software_cloud_v2/models/launch_auth_options_schema.rb
261
+ - lib/rustici_software_cloud_v2/models/launch_auth_schema.rb
260
262
  - lib/rustici_software_cloud_v2/models/launch_history_list_schema.rb
261
263
  - lib/rustici_software_cloud_v2/models/launch_history_schema.rb
262
264
  - lib/rustici_software_cloud_v2/models/launch_link_request_schema.rb
@@ -312,6 +314,7 @@ files:
312
314
  - lib/rustici_software_cloud_v2/models/xapi_credential_auth_type_schema.rb
313
315
  - lib/rustici_software_cloud_v2/models/xapi_credential_permissions_level_schema.rb
314
316
  - lib/rustici_software_cloud_v2/models/xapi_credential_post_schema.rb
317
+ - lib/rustici_software_cloud_v2/models/xapi_credential_put_schema.rb
315
318
  - lib/rustici_software_cloud_v2/models/xapi_credential_schema.rb
316
319
  - lib/rustici_software_cloud_v2/models/xapi_credentials_list_schema.rb
317
320
  - lib/rustici_software_cloud_v2/models/xapi_endpoint_schema.rb
@@ -321,6 +324,7 @@ files:
321
324
  - lib/rustici_software_cloud_v2/models/xapi_statement.rb
322
325
  - lib/rustici_software_cloud_v2/models/xapi_statement_pipe_list_schema.rb
323
326
  - lib/rustici_software_cloud_v2/models/xapi_statement_pipe_post_schema.rb
327
+ - lib/rustici_software_cloud_v2/models/xapi_statement_pipe_put_schema.rb
324
328
  - lib/rustici_software_cloud_v2/models/xapi_statement_pipe_schema.rb
325
329
  - lib/rustici_software_cloud_v2/models/xapi_statement_reference.rb
326
330
  - lib/rustici_software_cloud_v2/models/xapi_statement_result.rb
@@ -351,8 +355,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
351
355
  - !ruby/object:Gem::Version
352
356
  version: '0'
353
357
  requirements: []
354
- rubyforge_project:
355
- rubygems_version: 2.5.2.3
358
+ rubygems_version: 3.0.3
356
359
  signing_key:
357
360
  specification_version: 4
358
361
  summary: A Ruby wrapper for the SCORM Cloud API V2