rustici_software_cloud_v2 1.0.2 → 1.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (138) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +5 -4
  3. data/lib/rustici_software_cloud_v2.rb +1 -0
  4. data/lib/rustici_software_cloud_v2/api/about_api.rb +5 -5
  5. data/lib/rustici_software_cloud_v2/api/application_management_api.rb +77 -79
  6. data/lib/rustici_software_cloud_v2/api/authentication_api.rb +12 -10
  7. data/lib/rustici_software_cloud_v2/api/course_api.rb +197 -140
  8. data/lib/rustici_software_cloud_v2/api/dispatch_api.rb +247 -195
  9. data/lib/rustici_software_cloud_v2/api/invitations_api.rb +104 -85
  10. data/lib/rustici_software_cloud_v2/api/learner_api.rb +50 -35
  11. data/lib/rustici_software_cloud_v2/api/ping_api.rb +5 -7
  12. data/lib/rustici_software_cloud_v2/api/registration_api.rb +262 -150
  13. data/lib/rustici_software_cloud_v2/api/reporting_api.rb +21 -17
  14. data/lib/rustici_software_cloud_v2/api/xapi_api.rb +62 -51
  15. data/lib/rustici_software_cloud_v2/api/zoomi_api.rb +53 -42
  16. data/lib/rustici_software_cloud_v2/api_client.rb +1 -0
  17. data/lib/rustici_software_cloud_v2/api_error.rb +1 -0
  18. data/lib/rustici_software_cloud_v2/configuration.rb +1 -0
  19. data/lib/rustici_software_cloud_v2/models/about_schema.rb +7 -11
  20. data/lib/rustici_software_cloud_v2/models/activity_result_schema.rb +13 -16
  21. data/lib/rustici_software_cloud_v2/models/application_list_schema.rb +7 -11
  22. data/lib/rustici_software_cloud_v2/models/application_schema.rb +7 -11
  23. data/lib/rustici_software_cloud_v2/models/application_token.rb +7 -11
  24. data/lib/rustici_software_cloud_v2/models/batch_tags_schema.rb +9 -13
  25. data/lib/rustici_software_cloud_v2/models/comment_schema.rb +7 -11
  26. data/lib/rustici_software_cloud_v2/models/completion_amount_schema.rb +7 -11
  27. data/lib/rustici_software_cloud_v2/models/course_activity_schema.rb +10 -13
  28. data/lib/rustici_software_cloud_v2/models/course_list_non_paged_schema.rb +7 -11
  29. data/lib/rustici_software_cloud_v2/models/course_list_schema.rb +7 -11
  30. data/lib/rustici_software_cloud_v2/models/course_reference_schema.rb +7 -10
  31. data/lib/rustici_software_cloud_v2/models/course_schema.rb +10 -13
  32. data/lib/rustici_software_cloud_v2/models/create_dispatch_id_schema.rb +12 -16
  33. data/lib/rustici_software_cloud_v2/models/create_dispatch_list_schema.rb +7 -11
  34. data/lib/rustici_software_cloud_v2/models/create_dispatch_schema.rb +9 -13
  35. data/lib/rustici_software_cloud_v2/models/create_private_invitation_schema.rb +10 -14
  36. data/lib/rustici_software_cloud_v2/models/create_public_invitation_schema.rb +9 -13
  37. data/lib/rustici_software_cloud_v2/models/create_registration_schema.rb +10 -14
  38. data/lib/rustici_software_cloud_v2/models/credential_created_schema.rb +7 -11
  39. data/lib/rustici_software_cloud_v2/models/credential_list_schema.rb +7 -11
  40. data/lib/rustici_software_cloud_v2/models/credential_request_schema.rb +7 -11
  41. data/lib/rustici_software_cloud_v2/models/credential_schema.rb +7 -11
  42. data/lib/rustici_software_cloud_v2/models/destination_id_schema.rb +7 -11
  43. data/lib/rustici_software_cloud_v2/models/destination_list_schema.rb +7 -11
  44. data/lib/rustici_software_cloud_v2/models/destination_schema.rb +7 -11
  45. data/lib/rustici_software_cloud_v2/models/dispatch_id_schema.rb +7 -11
  46. data/lib/rustici_software_cloud_v2/models/dispatch_list_schema.rb +7 -11
  47. data/lib/rustici_software_cloud_v2/models/dispatch_registration_count_schema.rb +7 -11
  48. data/lib/rustici_software_cloud_v2/models/dispatch_schema.rb +7 -11
  49. data/lib/rustici_software_cloud_v2/models/enabled_schema.rb +7 -11
  50. data/lib/rustici_software_cloud_v2/models/import_fetch_request_schema.rb +8 -11
  51. data/lib/rustici_software_cloud_v2/models/import_job_result_schema.rb +10 -13
  52. data/lib/rustici_software_cloud_v2/models/import_result_schema.rb +7 -11
  53. data/lib/rustici_software_cloud_v2/models/integer_result_schema.rb +8 -12
  54. data/lib/rustici_software_cloud_v2/models/invitation_email_schema.rb +8 -11
  55. data/lib/rustici_software_cloud_v2/models/invitation_job_status_schema.rb +10 -13
  56. data/lib/rustici_software_cloud_v2/models/invitation_summary_list.rb +7 -11
  57. data/lib/rustici_software_cloud_v2/models/invitation_summary_schema.rb +7 -11
  58. data/lib/rustici_software_cloud_v2/models/item_value_pair_schema.rb +7 -11
  59. data/lib/rustici_software_cloud_v2/models/launch_auth_options_schema.rb +7 -11
  60. data/lib/rustici_software_cloud_v2/models/launch_auth_schema.rb +11 -14
  61. data/lib/rustici_software_cloud_v2/models/launch_history_list_schema.rb +7 -11
  62. data/lib/rustici_software_cloud_v2/models/launch_history_schema.rb +15 -18
  63. data/lib/rustici_software_cloud_v2/models/launch_link_request_schema.rb +8 -12
  64. data/lib/rustici_software_cloud_v2/models/launch_link_schema.rb +8 -12
  65. data/lib/rustici_software_cloud_v2/models/learner_preference_schema.rb +7 -11
  66. data/lib/rustici_software_cloud_v2/models/learner_schema.rb +8 -12
  67. data/lib/rustici_software_cloud_v2/models/message_schema.rb +8 -12
  68. data/lib/rustici_software_cloud_v2/models/metadata_schema.rb +7 -11
  69. data/lib/rustici_software_cloud_v2/models/objective_schema.rb +19 -22
  70. data/lib/rustici_software_cloud_v2/models/permissions_schema.rb +7 -11
  71. data/lib/rustici_software_cloud_v2/models/ping_schema.rb +7 -11
  72. data/lib/rustici_software_cloud_v2/models/post_back_schema.rb +15 -18
  73. data/lib/rustici_software_cloud_v2/models/private_invitation_list.rb +7 -11
  74. data/lib/rustici_software_cloud_v2/models/private_invitation_schema.rb +7 -11
  75. data/lib/rustici_software_cloud_v2/models/public_invitation_list.rb +7 -11
  76. data/lib/rustici_software_cloud_v2/models/public_invitation_schema.rb +7 -11
  77. data/lib/rustici_software_cloud_v2/models/registration_completion.rb +13 -4
  78. data/lib/rustici_software_cloud_v2/models/registration_list_schema.rb +8 -12
  79. data/lib/rustici_software_cloud_v2/models/registration_schema.rb +7 -11
  80. data/lib/rustici_software_cloud_v2/models/registration_success.rb +13 -4
  81. data/lib/rustici_software_cloud_v2/models/reportage_account_info_schema.rb +7 -11
  82. data/lib/rustici_software_cloud_v2/models/reportage_account_info_usage_schema.rb +7 -11
  83. data/lib/rustici_software_cloud_v2/models/reportage_auth_token_schema.rb +7 -11
  84. data/lib/rustici_software_cloud_v2/models/reportage_link_schema.rb +7 -11
  85. data/lib/rustici_software_cloud_v2/models/response_error.rb +8 -12
  86. data/lib/rustici_software_cloud_v2/models/runtime_interaction_schema.rb +10 -13
  87. data/lib/rustici_software_cloud_v2/models/runtime_objective_schema.rb +15 -18
  88. data/lib/rustici_software_cloud_v2/models/runtime_schema.rb +11 -14
  89. data/lib/rustici_software_cloud_v2/models/score_schema.rb +7 -11
  90. data/lib/rustici_software_cloud_v2/models/setting_item.rb +10 -13
  91. data/lib/rustici_software_cloud_v2/models/setting_list_schema.rb +8 -12
  92. data/lib/rustici_software_cloud_v2/models/setting_metadata.rb +11 -14
  93. data/lib/rustici_software_cloud_v2/models/setting_valid_value.rb +7 -11
  94. data/lib/rustici_software_cloud_v2/models/settings_individual_schema.rb +7 -11
  95. data/lib/rustici_software_cloud_v2/models/settings_post_schema.rb +7 -11
  96. data/lib/rustici_software_cloud_v2/models/shared_data_entry_schema.rb +7 -11
  97. data/lib/rustici_software_cloud_v2/models/static_properties_schema.rb +7 -11
  98. data/lib/rustici_software_cloud_v2/models/string_result_schema.rb +8 -12
  99. data/lib/rustici_software_cloud_v2/models/tag_list_schema.rb +7 -11
  100. data/lib/rustici_software_cloud_v2/models/title_schema.rb +7 -11
  101. data/lib/rustici_software_cloud_v2/models/token_request_schema.rb +9 -13
  102. data/lib/rustici_software_cloud_v2/models/update_dispatch_schema.rb +7 -11
  103. data/lib/rustici_software_cloud_v2/models/user_invitation_list.rb +7 -11
  104. data/lib/rustici_software_cloud_v2/models/user_invitation_schema.rb +7 -11
  105. data/lib/rustici_software_cloud_v2/models/user_invitation_schema_registration_report.rb +7 -10
  106. data/lib/rustici_software_cloud_v2/models/xapi_account.rb +9 -12
  107. data/lib/rustici_software_cloud_v2/models/xapi_activity.rb +9 -12
  108. data/lib/rustici_software_cloud_v2/models/xapi_activity_definition.rb +10 -13
  109. data/lib/rustici_software_cloud_v2/models/xapi_agent_group.rb +11 -13
  110. data/lib/rustici_software_cloud_v2/models/xapi_attachment.rb +14 -17
  111. data/lib/rustici_software_cloud_v2/models/xapi_context.rb +8 -11
  112. data/lib/rustici_software_cloud_v2/models/xapi_context_activity.rb +7 -10
  113. data/lib/rustici_software_cloud_v2/models/xapi_credential_auth_type_schema.rb +10 -13
  114. data/lib/rustici_software_cloud_v2/models/xapi_credential_permissions_level_schema.rb +10 -13
  115. data/lib/rustici_software_cloud_v2/models/xapi_credential_post_schema.rb +12 -16
  116. data/lib/rustici_software_cloud_v2/models/xapi_credential_put_schema.rb +7 -11
  117. data/lib/rustici_software_cloud_v2/models/xapi_credential_schema.rb +12 -16
  118. data/lib/rustici_software_cloud_v2/models/xapi_credentials_list_schema.rb +8 -12
  119. data/lib/rustici_software_cloud_v2/models/xapi_endpoint_schema.rb +7 -11
  120. data/lib/rustici_software_cloud_v2/models/xapi_interaction_component.rb +9 -12
  121. data/lib/rustici_software_cloud_v2/models/xapi_result.rb +8 -11
  122. data/lib/rustici_software_cloud_v2/models/xapi_score.rb +7 -10
  123. data/lib/rustici_software_cloud_v2/models/xapi_statement.rb +7 -10
  124. data/lib/rustici_software_cloud_v2/models/xapi_statement_pipe_list_schema.rb +8 -12
  125. data/lib/rustici_software_cloud_v2/models/xapi_statement_pipe_post_schema.rb +8 -12
  126. data/lib/rustici_software_cloud_v2/models/xapi_statement_pipe_put_schema.rb +7 -11
  127. data/lib/rustici_software_cloud_v2/models/xapi_statement_pipe_schema.rb +7 -11
  128. data/lib/rustici_software_cloud_v2/models/xapi_statement_reference.rb +10 -13
  129. data/lib/rustici_software_cloud_v2/models/xapi_statement_result.rb +8 -11
  130. data/lib/rustici_software_cloud_v2/models/xapi_verb.rb +9 -12
  131. data/lib/rustici_software_cloud_v2/models/zoomi_company_id.rb +7 -11
  132. data/lib/rustici_software_cloud_v2/models/zoomi_course_options_schema.rb +7 -11
  133. data/lib/rustici_software_cloud_v2/version.rb +2 -1
  134. data/rustici_software_cloud_v2.gemspec +8 -7
  135. data/spec/api_client_spec.rb +35 -34
  136. data/spec/configuration_spec.rb +9 -8
  137. data/spec/spec_helper.rb +1 -0
  138. metadata +16 -16
@@ -6,6 +6,7 @@
6
6
  OpenAPI spec version: 2.0
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
+ Swagger Codegen version: 2.4.12
9
10
 
10
11
  =end
11
12
 
@@ -16,25 +17,25 @@ describe RusticiSoftwareCloudV2::Configuration do
16
17
 
17
18
  before(:each) do
18
19
  # uncomment below to setup host and base_path
19
- #require 'URI'
20
- #uri = URI.parse("https://cloud.scorm.com/api/v2/")
21
- #RusticiSoftwareCloudV2.configure do |c|
22
- # c.host = uri.host
23
- # c.base_path = uri.path
24
- #end
20
+ # require 'URI'
21
+ # uri = URI.parse("https://cloud.scorm.com/api/v2/")
22
+ # RusticiSoftwareCloudV2.configure do |c|
23
+ # c.host = uri.host
24
+ # c.base_path = uri.path
25
+ # end
25
26
  end
26
27
 
27
28
  describe '#base_url' do
28
29
  it 'should have the default value' do
29
30
  # uncomment below to test default value of the base path
30
- #expect(config.base_url).to eq("https://cloud.scorm.com/api/v2/")
31
+ # expect(config.base_url).to eq("https://cloud.scorm.com/api/v2/")
31
32
  end
32
33
 
33
34
  it 'should remove trailing slashes' do
34
35
  [nil, '', '/', '//'].each do |base_path|
35
36
  config.base_path = base_path
36
37
  # uncomment below to test trailing slashes
37
- #expect(config.base_url).to eq("https://cloud.scorm.com/api/v2/")
38
+ # expect(config.base_url).to eq("https://cloud.scorm.com/api/v2/")
38
39
  end
39
40
  end
40
41
  end
@@ -6,6 +6,7 @@
6
6
  OpenAPI spec version: 2.0
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
+ Swagger Codegen version: 2.4.12
9
10
 
10
11
  =end
11
12
 
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.2
4
+ version: 1.1.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-09 00:00:00.000000000 Z
11
+ date: 2020-03-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus
@@ -34,42 +34,42 @@ dependencies:
34
34
  name: json
35
35
  requirement: !ruby/object:Gem::Requirement
36
36
  requirements:
37
- - - "~>"
38
- - !ruby/object:Gem::Version
39
- version: '1.8'
40
37
  - - ">="
41
38
  - !ruby/object:Gem::Version
42
- version: 1.8.3
39
+ version: 2.3.0
40
+ - - "~>"
41
+ - !ruby/object:Gem::Version
42
+ version: '2.3'
43
43
  type: :runtime
44
44
  prerelease: false
45
45
  version_requirements: !ruby/object:Gem::Requirement
46
46
  requirements:
47
- - - "~>"
48
- - !ruby/object:Gem::Version
49
- version: '1.8'
50
47
  - - ">="
51
48
  - !ruby/object:Gem::Version
52
- version: 1.8.3
49
+ version: 2.3.0
50
+ - - "~>"
51
+ - !ruby/object:Gem::Version
52
+ version: '2.3'
53
53
  - !ruby/object:Gem::Dependency
54
54
  name: rspec
55
55
  requirement: !ruby/object:Gem::Requirement
56
56
  requirements:
57
57
  - - ">="
58
58
  - !ruby/object:Gem::Version
59
- version: 3.4.0
59
+ version: 3.6.0
60
60
  - - "~>"
61
61
  - !ruby/object:Gem::Version
62
- version: '3.4'
62
+ version: '3.6'
63
63
  type: :development
64
64
  prerelease: false
65
65
  version_requirements: !ruby/object:Gem::Requirement
66
66
  requirements:
67
67
  - - ">="
68
68
  - !ruby/object:Gem::Version
69
- version: 3.4.0
69
+ version: 3.6.0
70
70
  - - "~>"
71
71
  - !ruby/object:Gem::Version
72
- version: '3.4'
72
+ version: '3.6'
73
73
  - !ruby/object:Gem::Dependency
74
74
  name: vcr
75
75
  requirement: !ruby/object:Gem::Requirement
@@ -179,7 +179,7 @@ dependencies:
179
179
  version: '0.2'
180
180
  - - ">="
181
181
  - !ruby/object:Gem::Version
182
- version: 0.2.11
182
+ version: 0.2.12
183
183
  type: :development
184
184
  prerelease: false
185
185
  version_requirements: !ruby/object:Gem::Requirement
@@ -189,7 +189,7 @@ dependencies:
189
189
  version: '0.2'
190
190
  - - ">="
191
191
  - !ruby/object:Gem::Version
192
- version: 0.2.11
192
+ version: 0.2.12
193
193
  description: SCORM Cloud API V2 Client
194
194
  email:
195
195
  - systems@rusticisoftware.com