scorm_engine 0.8.2 → 0.8.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/scorm_engine/api/endpoints/configuration.rb +31 -1
- data/lib/scorm_engine/version.rb +1 -1
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_About/_get_about/is_successful.yml +6 -6
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_About/_get_about/knows_the_platform.yml +6 -6
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_About/_get_about/knows_the_version.yml +6 -6
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_About/_get_about_user_count/accepts_before_option.yml +7 -7
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_About/_get_about_user_count/accepts_since_option.yml +8 -8
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_About/_get_about_user_count/is_successful.yml +7 -7
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_About/_get_about_user_count/tracks_combined_counts.yml +7 -7
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_About/_get_about_user_count/tracks_per_tenantcounts.yml +7 -7
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Configuration/_delete_app_configuration/fails_when_settings_are_invalid.yml +46 -0
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Configuration/_delete_app_configuration/is_successful.yml +42 -0
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Configuration/_get_app_configuration/includeMetadata/is_successful.yml +931 -0
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Configuration/_get_app_configuration/includeMetadata/returns_metadata_in_raw_response_when_included_in_options.yml +931 -0
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Configuration/_get_app_configuration/is_successful.yml +16 -16
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Configuration/_get_app_configuration/returns_settings_and_values.yml +16 -16
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Configuration/_post_app_configuration/fails_when_settings_are_invalid.yml +6 -6
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Configuration/_post_app_configuration/is_successful.yml +6 -6
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Configuration/_post_app_configuration/persists_the_settings.yml +44 -44
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Courses/_delete_course/fails_when_id_is_invalid.yml +5 -5
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Courses/_delete_course/works.yml +5 -5
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Courses/_get_course_detail/fails_when_id_is_invalid.yml +5 -5
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Courses/_get_course_detail/is_successful.yml +6 -6
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Courses/_get_course_detail/results/sucessfully_creates_the_Course_attributes.yml +6 -6
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Courses/_get_course_preview/fails_when_id_is_invalid.yml +5 -5
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Courses/_get_course_preview/is_successful.yml +7 -7
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Courses/_get_course_preview/results/returns_a_URL_string.yml +7 -7
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Courses/_get_courses/_course_id_option/fetches_a_single_course_but_perhaps_multiple_versions.yml +6 -6
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Courses/_get_courses/_course_id_option/returns_404_when_ID_is_invalid.yml +5 -5
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Courses/_get_courses/_more_option_pagination_/returns_all_the_courses.yml +35 -80
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Courses/_get_courses/_more_option_pagination_/returns_the_more_key_in_the_raw_response.yml +16 -16
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Courses/_get_courses/_since_option/fails_when_passed_an_invalid_value.yml +5 -5
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Courses/_get_courses/_since_option/works.yml +26 -23
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Courses/_get_courses/is_successful.yml +16 -16
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Courses/_get_courses/results/is_an_enumerator_of_Course_models.yml +16 -16
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Courses/_get_courses/results/sucessfully_creates_the_Course_attributes.yml +16 -16
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Courses_Configuration/_get_course_configuration/fails_when_id_is_invalid.yml +5 -5
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Courses_Configuration/_get_course_configuration/is_successful.yml +7 -7
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Courses_Configuration/_get_course_configuration/results/makes_settings_available_as_key/value_pairs.yml +7 -7
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Courses_Configuration/_get_course_configuration_setting/fails_when_course_id_is_invalid.yml +5 -5
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Courses_Configuration/_get_course_configuration_setting/fails_when_setting_id_is_invalid.yml +5 -5
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Courses_Configuration/_get_course_configuration_setting/is_successful.yml +10 -10
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Courses_Configuration/_get_course_configuration_setting/results/returns_the_value_as_a_string.yml +10 -10
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Courses_Configuration/_post_course_configuration/fails_when_id_is_invalid.yml +5 -5
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Courses_Configuration/_post_course_configuration/fails_when_settings_are_invalid.yml +5 -5
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Courses_Configuration/_post_course_configuration/is_successful.yml +5 -5
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Courses_Configuration/_post_course_configuration/persists_the_settings.yml +25 -25
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Courses_Configuration/_put_course_configuration_setting/fails_when_course_id_is_invalid.yml +5 -5
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Courses_Configuration/_put_course_configuration_setting/fails_when_setting_id_is_invalid.yml +5 -5
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Courses_Configuration/_put_course_configuration_setting/is_successful.yml +13 -13
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Courses_Configuration/_put_course_configuration_setting/results/persists_the_changes.yml +20 -20
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Courses_Import/_get_course_import/successful_imports/works.yml +31 -31
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Courses_Import/_get_course_import/unsuccessful_imports/fails_to_import_given_an_invalid_url.yml +20 -63
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Courses_Import/_post_course_import/unsuccessful_imports/fails_to_import_a_previously_existing_course.yml +5 -5
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Destinations/_delete_destination/returns_success_even_when_id_is_invalid.yml +5 -5
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Destinations/_delete_destination/works.yml +5 -5
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Destinations/_get_destination/fails_when_id_is_invalid.yml +5 -5
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Destinations/_get_destination/is_successful.yml +5 -5
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Destinations/_get_destination/results/sucessfully_creates_the_destination_attributes.yml +5 -5
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Destinations/_get_destination_dispatches_registration_count/fails_when_invalid.yml +5 -5
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Destinations/_get_destination_dispatches_registration_count/works.yml +5 -5
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Destinations/_get_destinations/_more_option_pagination_/returns_all_the_destinations.yml +14 -14
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Destinations/_get_destinations/_more_option_pagination_/returns_the_more_key_in_the_raw_response.yml +7 -7
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Destinations/_get_destinations/_since_option/fails_when_passed_an_invalid_value.yml +5 -5
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Destinations/_get_destinations/_since_option/works.yml +7 -6
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Destinations/_get_destinations/is_successful.yml +7 -7
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Destinations/_get_destinations/results/is_an_enumerator_of_Destination_models.yml +7 -7
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Destinations/_get_destinations/results/sucessfully_creates_the_Destination_attributes.yml +51 -7
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Destinations/_post_destination/is_successful.yml +10 -10
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Destinations/_post_destination/is_successful_even_if_the_destination_id_is_not_unique.yml +5 -5
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Destinations/_post_destination_dispatches_enabled/fails_when_invalid.yml +5 -5
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Destinations/_post_destination_dispatches_enabled/works_when_false.yml +5 -5
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Destinations/_post_destination_dispatches_enabled/works_when_true.yml +4 -4
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Destinations/_post_destination_dispatches_registration_instancing/fails_when_invalid.yml +5 -5
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Destinations/_post_destination_dispatches_registration_instancing/works_when_false.yml +5 -5
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Destinations/_post_destination_dispatches_registration_instancing/works_when_true.yml +5 -5
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Destinations/_put_destination/is_successful.yml +5 -5
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Destinations/_put_destination/results/sucessfully_creates_the_destination_attributes.yml +10 -10
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Dispatches/_delete_dispatch/returns_success_even_when_id_is_invalid.yml +5 -5
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Dispatches/_delete_dispatch/works.yml +5 -5
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Dispatches/_delete_dispatch_registration_count/is_successful.yml +5 -5
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Dispatches/_delete_dispatch_registration_count/succeeds_even_when_id_is_invalid.yml +5 -5
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Dispatches/_get_dispatch/fails_when_id_is_invalid.yml +5 -5
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Dispatches/_get_dispatch/is_successful.yml +7 -7
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Dispatches/_get_dispatch/results/sucessfully_creates_the_dispatch_attributes.yml +6 -6
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Dispatches/_get_dispatch_enabled/is_false_when_disabled.yml +10 -10
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Dispatches/_get_dispatch_enabled/is_true_when_enabled.yml +10 -10
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Dispatches/_get_dispatch_registration_count/fails_when_id_is_invalid.yml +10 -10
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Dispatches/_get_dispatch_registration_count/is_successful.yml +11 -11
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Dispatches/_get_dispatch_registration_count/results/sucessfully_creates_the_dispatch_attributes.yml +11 -11
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Dispatches/_get_dispatch_zip/fails_given_an_invalid_id.yml +5 -5
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Dispatches/_get_dispatch_zip/fails_given_an_invalid_type.yml +5 -5
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Dispatches/_get_dispatch_zip/works.yml +8 -8
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Dispatches/_get_dispatch_zip/works_when_type_is_AICC.yml +7 -7
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Dispatches/_get_dispatch_zip/works_when_type_is_SCORM12.yml +6 -6
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Dispatches/_get_dispatch_zip/works_when_type_is_SCORM2004-3RD.yml +8 -8
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Dispatches/_get_dispatches/_more_option_pagination_/returns_all_the_dispatches.yml +17 -17
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Dispatches/_get_dispatches/_more_option_pagination_/returns_the_more_key_in_the_raw_response.yml +7 -7
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Dispatches/_get_dispatches/_since_option/fails_when_passed_an_invalid_value.yml +4 -4
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Dispatches/_get_dispatches/_since_option/works.yml +7 -7
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Dispatches/_get_dispatches/is_successful.yml +7 -7
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Dispatches/_get_dispatches/results/is_an_enumerator_of_dispatch_models.yml +6 -6
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Dispatches/_get_dispatches/results/sucessfully_creates_the_dispatch_attributes.yml +8 -8
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Dispatches/_post_dispatch/is_successful.yml +10 -10
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Dispatches/_post_dispatch/updates_if_same_dispatch_id.yml +19 -19
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Dispatches/_put_dispatch/is_successful.yml +5 -5
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Dispatches/_put_dispatch/results/sucessfully_creates_the_dispatch_attributes.yml +11 -11
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Dispatches/_put_dispatch_enabled/fails_when_invalid.yml +5 -5
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Dispatches/_put_dispatch_enabled/works_when_false.yml +5 -5
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Dispatches/_put_dispatch_enabled/works_when_true.yml +5 -5
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Ping/_get_ping/is_successful.yml +6 -6
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Ping/_get_ping/reports_the_api_is_up.yml +6 -6
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Ping/_get_ping/with_invalid_password/is_unsuccessful.yml +5 -5
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Ping/_get_ping/with_invalid_password/returns_status_403.yml +4 -4
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Registrations/_delete_registration/is_failure_when_registration_does_not_exist.yml +5 -5
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Registrations/_delete_registration/is_successful_when_registration_exists.yml +5 -5
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Registrations/_get_registration_exists/is_false_when_registration_does_not_exist.yml +5 -5
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Registrations/_get_registration_exists/is_true_when_registration_exists.yml +5 -5
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Registrations/_get_registration_instances/includes_results_we_expect.yml +7 -7
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Registrations/_get_registration_instances/is_successful.yml +7 -7
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Registrations/_get_registration_instances/returns_an_array_of_registrations.yml +7 -7
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Registrations/_get_registration_launch_link/fails_when_id_is_invalid.yml +5 -5
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Registrations/_get_registration_launch_link/is_successful.yml +5 -5
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Registrations/_get_registration_launch_link/results/returns_a_URL_string.yml +5 -5
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Registrations/_get_registration_progress/detail/does_not_return_activity_details_by_default.yml +7 -7
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Registrations/_get_registration_progress/detail/returns_activity_details_if_requested.yml +7 -7
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Registrations/_get_registration_progress/fails_when_registration_does_not_exist.yml +5 -5
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Registrations/_get_registration_progress/returns_a_registration_when_it_exists.yml +7 -7
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Registrations/_get_registrations/filtering_by_course_id/excludes_results.yml +5 -5
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Registrations/_get_registrations/filtering_by_course_id/includes_results.yml +7 -7
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Registrations/_get_registrations/filtering_by_learner_id/excludes_results.yml +5 -5
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Registrations/_get_registrations/filtering_by_learner_id/includes_results.yml +7 -7
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Registrations/_get_registrations/includes_results_we_expect.yml +7 -7
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Registrations/_get_registrations/is_successful.yml +7 -7
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Registrations/_get_registrations/returns_an_array_of_registrations.yml +7 -7
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Registrations/_post_registration/fails_if_course_id_is_invalid.yml +5 -5
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Registrations/_post_registration/fails_if_registration_id_already_exists.yml +5 -5
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Registrations/_post_registration/is_successful.yml +10 -10
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Registrations/_post_registration/is_successful_even_when_given_a_UTF8/slashed_username.yml +10 -10
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Registrations_Configuration/_get_registration_configuration/fails_when_id_is_invalid.yml +5 -5
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Registrations_Configuration/_get_registration_configuration/is_successful.yml +8 -8
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Registrations_Configuration/_get_registration_configuration/results/makes_settings_available_as_key/value_pairs.yml +7 -7
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Registrations_Configuration/_get_registration_configuration_setting/fails_when_registration_id_is_invalid.yml +5 -5
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Registrations_Configuration/_get_registration_configuration_setting/fails_when_setting_id_is_invalid.yml +5 -5
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Registrations_Configuration/_get_registration_configuration_setting/is_successful.yml +10 -10
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Registrations_Configuration/_get_registration_configuration_setting/results/returns_the_value_as_a_string.yml +10 -10
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Registrations_Configuration/_post_registration_configuration/fails_when_id_is_invalid.yml +5 -5
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Registrations_Configuration/_post_registration_configuration/fails_when_settings_are_invalid.yml +5 -5
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Registrations_Configuration/_post_registration_configuration/is_successful.yml +5 -5
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Registrations_Configuration/_post_registration_configuration/persists_the_settings.yml +24 -24
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Registrations_Configuration/_put_registration_configuration_setting/fails_when_registration_id_is_invalid.yml +5 -5
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Registrations_Configuration/_put_registration_configuration_setting/fails_when_setting_id_is_invalid.yml +5 -5
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Registrations_Configuration/_put_registration_configuration_setting/is_successful.yml +12 -12
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Registrations_Configuration/_put_registration_configuration_setting/results/persists_the_changes.yml +18 -18
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Registrations_LaunchHistory/_get_registration_launch_history/fails_when_registration_does_not_exist.yml +5 -5
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Registrations_LaunchHistory/_get_registration_launch_history/is_successful.yml +5 -5
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Registrations_LaunchHistory/_get_registration_launch_history/returns_an_array_of_registration_launch_histories.yml +5 -5
- data/spec/scorm_engine/api/endpoints/about_spec.rb +1 -1
- data/spec/scorm_engine/api/endpoints/configuration_spec.rb +32 -1
- data/spec/scorm_engine/api/endpoints/courses_spec.rb +2 -3
- metadata +6 -3
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Courses/_get_course_preview/results/returns_a_URL_string_containing_a_signed_jwt.yml +0 -46
@@ -8,7 +8,7 @@ http_interactions:
|
|
8
8
|
string: ''
|
9
9
|
headers:
|
10
10
|
User-Agent:
|
11
|
-
- ScormEngine Ruby Gem 0.8.
|
11
|
+
- ScormEngine Ruby Gem 0.8.2
|
12
12
|
Authorization:
|
13
13
|
- Basic <BASIC_AUTH>
|
14
14
|
response:
|
@@ -23,7 +23,7 @@ http_interactions:
|
|
23
23
|
connection:
|
24
24
|
- close
|
25
25
|
date:
|
26
|
-
-
|
26
|
+
- Tue, 10 Nov 2020 22:54:45 GMT
|
27
27
|
p3p:
|
28
28
|
- CP="NOI"
|
29
29
|
server:
|
@@ -33,14 +33,14 @@ http_interactions:
|
|
33
33
|
x-cache:
|
34
34
|
- Error from cloudfront
|
35
35
|
via:
|
36
|
-
- 1.1
|
36
|
+
- 1.1 c28e90c09fe72af9ef5e45a1bf85f0fc.cloudfront.net (CloudFront)
|
37
37
|
x-amz-cf-pop:
|
38
38
|
- SLC50-C1
|
39
39
|
x-amz-cf-id:
|
40
|
-
-
|
40
|
+
- XMJU7IpGk0lSBUv9z2TVMzh4wMlmTfmdv6Gz_9PKumlB1YbPqZqrvw==
|
41
41
|
body:
|
42
42
|
encoding: UTF-8
|
43
43
|
string: '{"message":"Registration ID ''reg-does-not-exist'' does not exist"}'
|
44
44
|
http_version:
|
45
|
-
recorded_at:
|
45
|
+
recorded_at: Tue, 10 Nov 2020 22:54:47 GMT
|
46
46
|
recorded_with: VCR 4.0.0
|
@@ -8,7 +8,7 @@ http_interactions:
|
|
8
8
|
string: ''
|
9
9
|
headers:
|
10
10
|
User-Agent:
|
11
|
-
- ScormEngine Ruby Gem 0.8.
|
11
|
+
- ScormEngine Ruby Gem 0.8.2
|
12
12
|
Authorization:
|
13
13
|
- Basic <BASIC_AUTH>
|
14
14
|
response:
|
@@ -23,7 +23,7 @@ http_interactions:
|
|
23
23
|
connection:
|
24
24
|
- close
|
25
25
|
date:
|
26
|
-
-
|
26
|
+
- Tue, 10 Nov 2020 22:54:47 GMT
|
27
27
|
p3p:
|
28
28
|
- CP="NOI"
|
29
29
|
server:
|
@@ -33,15 +33,15 @@ http_interactions:
|
|
33
33
|
x-cache:
|
34
34
|
- Miss from cloudfront
|
35
35
|
via:
|
36
|
-
- 1.1
|
36
|
+
- 1.1 bd6dc6ff7ea2e7a0c6202fdae4d38e80.cloudfront.net (CloudFront)
|
37
37
|
x-amz-cf-pop:
|
38
38
|
- SLC50-C1
|
39
39
|
x-amz-cf-id:
|
40
|
-
-
|
40
|
+
- 2HMhspr57yP2zxNAVa5Y7JQuPAH9XJy-eoQmYfSAqrdfiJy_mza7NQ==
|
41
41
|
body:
|
42
42
|
encoding: UTF-8
|
43
|
-
string: '{"id":"testing-golf-explained-registration-1","instance":0,"updated":"2020-
|
44
|
-
Explained - Run-time Basic Calls","courseLearningStandard":"SCORM_2004_3RD_EDITION","registrationCount":1,"updated":"2020-09-25T22:
|
43
|
+
string: '{"id":"testing-golf-explained-registration-1","instance":0,"updated":"2020-11-10T22:54:40.000Z","registrationCompletion":"UNKNOWN","registrationCompletionAmount":0.0,"registrationSuccess":"Unknown","totalSecondsTracked":0.0,"lastAccessDate":"2020-11-10T22:54:40.000Z","createdDate":"2020-11-10T22:54:40.000Z","course":{"id":"testing-golf-explained","version":0,"title":"Golf
|
44
|
+
Explained - Run-time Basic Calls","courseLearningStandard":"SCORM_2004_3RD_EDITION","registrationCount":1,"updated":"2020-09-25T22:59:25.000Z"},"learner":{"id":"testing-golf-explained-learner-1","firstName":"Arnold","lastName":"Palmer"},"globalObjectives":[],"sharedData":[]}'
|
45
45
|
http_version:
|
46
|
-
recorded_at:
|
46
|
+
recorded_at: Tue, 10 Nov 2020 22:54:48 GMT
|
47
47
|
recorded_with: VCR 4.0.0
|
@@ -8,7 +8,7 @@ http_interactions:
|
|
8
8
|
string: ''
|
9
9
|
headers:
|
10
10
|
User-Agent:
|
11
|
-
- ScormEngine Ruby Gem 0.8.
|
11
|
+
- ScormEngine Ruby Gem 0.8.2
|
12
12
|
Authorization:
|
13
13
|
- Basic <BASIC_AUTH>
|
14
14
|
response:
|
@@ -23,7 +23,7 @@ http_interactions:
|
|
23
23
|
connection:
|
24
24
|
- close
|
25
25
|
date:
|
26
|
-
-
|
26
|
+
- Tue, 10 Nov 2020 22:54:35 GMT
|
27
27
|
p3p:
|
28
28
|
- CP="NOI"
|
29
29
|
server:
|
@@ -33,14 +33,14 @@ http_interactions:
|
|
33
33
|
x-cache:
|
34
34
|
- Miss from cloudfront
|
35
35
|
via:
|
36
|
-
- 1.1
|
36
|
+
- 1.1 dc1008da8748ae0c60c93323ff766e49.cloudfront.net (CloudFront)
|
37
37
|
x-amz-cf-pop:
|
38
38
|
- SLC50-C1
|
39
39
|
x-amz-cf-id:
|
40
|
-
-
|
40
|
+
- UJYxmgH4Iu7I-fWMZW5LTzEQTbUO-Ktw-OZDzRUZNF9KfnQ7E6dtOA==
|
41
41
|
body:
|
42
42
|
encoding: UTF-8
|
43
43
|
string: '{"registrations":[]}'
|
44
44
|
http_version:
|
45
|
-
recorded_at:
|
45
|
+
recorded_at: Tue, 10 Nov 2020 22:54:35 GMT
|
46
46
|
recorded_with: VCR 4.0.0
|
@@ -8,7 +8,7 @@ http_interactions:
|
|
8
8
|
string: ''
|
9
9
|
headers:
|
10
10
|
User-Agent:
|
11
|
-
- ScormEngine Ruby Gem 0.8.
|
11
|
+
- ScormEngine Ruby Gem 0.8.2
|
12
12
|
Authorization:
|
13
13
|
- Basic <BASIC_AUTH>
|
14
14
|
response:
|
@@ -23,7 +23,7 @@ http_interactions:
|
|
23
23
|
connection:
|
24
24
|
- close
|
25
25
|
date:
|
26
|
-
-
|
26
|
+
- Tue, 10 Nov 2020 22:54:34 GMT
|
27
27
|
p3p:
|
28
28
|
- CP="NOI"
|
29
29
|
server:
|
@@ -33,17 +33,17 @@ http_interactions:
|
|
33
33
|
x-cache:
|
34
34
|
- Miss from cloudfront
|
35
35
|
via:
|
36
|
-
- 1.1
|
36
|
+
- 1.1 a51cc6644cb69546ec2778155f5f6288.cloudfront.net (CloudFront)
|
37
37
|
x-amz-cf-pop:
|
38
38
|
- SLC50-C1
|
39
39
|
x-amz-cf-id:
|
40
|
-
-
|
40
|
+
- zVYj5MiKmwmidnzx4VTYMGGSjXI_UUWrqoRskgCM7mxilbvJ_5PErg==
|
41
41
|
body:
|
42
42
|
encoding: UTF-8
|
43
|
-
string: '{"registrations":[{"id":"testing-golf-explained-registration-1","instance":0,"updated":"2020-
|
44
|
-
Explained - Run-time Basic Calls","courseLearningStandard":"SCORM_2004_3RD_EDITION","registrationCount":0,"updated":"2020-
|
43
|
+
string: '{"registrations":[{"id":"testing-golf-explained-registration-1","instance":0,"updated":"2020-10-02T16:56:31.000Z","registrationCompletion":"UNKNOWN","registrationSuccess":"Unknown","totalSecondsTracked":0.0,"lastAccessDate":"2020-10-02T16:56:31.000Z","createdDate":"2020-10-02T16:56:31.000Z","course":{"id":"testing-golf-explained","version":0,"title":"Golf
|
44
|
+
Explained - Run-time Basic Calls","courseLearningStandard":"SCORM_2004_3RD_EDITION","registrationCount":0,"updated":"2020-10-02T16:56:31.000Z"},"learner":{"id":"testing-golf-explained-learner-1","firstName":"Arnold","lastName":"Palmer"},"globalObjectives":[],"activityDetails":{"id":"golf_sample_default_org","title":"Golf
|
45
45
|
Explained - Run-time Basic Calls","activityProgressKnown":false,"attempts":0,"activityCompletion":"UNKNOWN","previousAttemptCompletion":"Unknown","activitySuccess":"UNKNOWN","attemptedDuringThisAttempt":false,"suspended":false,"active":false,"included":false,"ordinal":0,"selectedChildren":false,"randomizedChildren":false,"children":[{"id":"item_1","title":"Golf
|
46
46
|
Explained","activityProgressKnown":false,"attempts":0,"activityCompletion":"UNKNOWN","previousAttemptCompletion":"Unknown","activitySuccess":"UNKNOWN","timeTracked":"0000:00:00","attemptedDuringThisAttempt":false,"suspended":false,"active":false,"included":false,"ordinal":0,"selectedChildren":false,"randomizedChildren":false,"children":[],"objectives":[{"id":"","primary":true,"firstScoreScaled":0.0,"objectiveCompletion":"Unknown","objectiveSuccess":"UNKNOWN","previousObjectiveSuccess":"Unknown"}],"staticProperties":{"completionThreshold":"","launchData":"","maxTimeAllowed":"","scaledPassingScore":0.0,"scaledPassingScoreUsed":false,"timeLimitAction":""},"runtime":{"completionStatus":"unknown","credit":"credit","entry":"abinitio","exit":"Unknown","learnerPreference":{"audioLevel":1.0,"language":"","deliverySpeed":1.0,"audioCaptioning":0},"mode":"Normal","progressMeasure":"","scoreScaled":"","scoreRaw":"","scoreMin":"","scoreMax":"","totalTime":"0000:00:00","timeTracked":"0000:00:00","successStatus":"Unknown","suspendData":"","learnerComments":[],"lmsComments":[],"runtimeInteractions":[],"runtimeObjectives":[]}}],"objectives":[{"id":"","primary":true,"firstScoreScaled":0.0,"objectiveCompletion":"Unknown","objectiveSuccess":"UNKNOWN","previousObjectiveSuccess":"Unknown"}],"staticProperties":{"completionThreshold":"","launchData":"","maxTimeAllowed":"","scaledPassingScore":0.0,"scaledPassingScoreUsed":false,"timeLimitAction":""}}}]}'
|
47
47
|
http_version:
|
48
|
-
recorded_at:
|
48
|
+
recorded_at: Tue, 10 Nov 2020 22:54:34 GMT
|
49
49
|
recorded_with: VCR 4.0.0
|
@@ -8,7 +8,7 @@ http_interactions:
|
|
8
8
|
string: ''
|
9
9
|
headers:
|
10
10
|
User-Agent:
|
11
|
-
- ScormEngine Ruby Gem 0.8.
|
11
|
+
- ScormEngine Ruby Gem 0.8.2
|
12
12
|
Authorization:
|
13
13
|
- Basic <BASIC_AUTH>
|
14
14
|
response:
|
@@ -23,7 +23,7 @@ http_interactions:
|
|
23
23
|
connection:
|
24
24
|
- close
|
25
25
|
date:
|
26
|
-
-
|
26
|
+
- Tue, 10 Nov 2020 22:54:36 GMT
|
27
27
|
p3p:
|
28
28
|
- CP="NOI"
|
29
29
|
server:
|
@@ -33,14 +33,14 @@ http_interactions:
|
|
33
33
|
x-cache:
|
34
34
|
- Miss from cloudfront
|
35
35
|
via:
|
36
|
-
- 1.1
|
36
|
+
- 1.1 8bb5b74069e9505becb1d7e84c9b94e8.cloudfront.net (CloudFront)
|
37
37
|
x-amz-cf-pop:
|
38
38
|
- SLC50-C1
|
39
39
|
x-amz-cf-id:
|
40
|
-
-
|
40
|
+
- pXKnEUGWI9nxQy-llhod_HIMUdFyYE_lmXAeeFHkRWpy8AQfkw7m9w==
|
41
41
|
body:
|
42
42
|
encoding: UTF-8
|
43
43
|
string: '{"registrations":[]}'
|
44
44
|
http_version:
|
45
|
-
recorded_at:
|
45
|
+
recorded_at: Tue, 10 Nov 2020 22:54:36 GMT
|
46
46
|
recorded_with: VCR 4.0.0
|
@@ -8,7 +8,7 @@ http_interactions:
|
|
8
8
|
string: ''
|
9
9
|
headers:
|
10
10
|
User-Agent:
|
11
|
-
- ScormEngine Ruby Gem 0.8.
|
11
|
+
- ScormEngine Ruby Gem 0.8.2
|
12
12
|
Authorization:
|
13
13
|
- Basic <BASIC_AUTH>
|
14
14
|
response:
|
@@ -23,7 +23,7 @@ http_interactions:
|
|
23
23
|
connection:
|
24
24
|
- close
|
25
25
|
date:
|
26
|
-
-
|
26
|
+
- Tue, 10 Nov 2020 22:54:36 GMT
|
27
27
|
p3p:
|
28
28
|
- CP="NOI"
|
29
29
|
server:
|
@@ -33,17 +33,17 @@ http_interactions:
|
|
33
33
|
x-cache:
|
34
34
|
- Miss from cloudfront
|
35
35
|
via:
|
36
|
-
- 1.1
|
36
|
+
- 1.1 dc11c8b7421c6da6c05e64d48aa3e898.cloudfront.net (CloudFront)
|
37
37
|
x-amz-cf-pop:
|
38
38
|
- SLC50-C1
|
39
39
|
x-amz-cf-id:
|
40
|
-
-
|
40
|
+
- C8GH0ftvWnpVrdLas9umPTmR5_mdlF4H9cTbeIGeQdHEVuX7kw9c1w==
|
41
41
|
body:
|
42
42
|
encoding: UTF-8
|
43
|
-
string: '{"registrations":[{"id":"testing-golf-explained-registration-1","instance":0,"updated":"2020-
|
44
|
-
Explained - Run-time Basic Calls","courseLearningStandard":"SCORM_2004_3RD_EDITION","registrationCount":0,"updated":"2020-
|
43
|
+
string: '{"registrations":[{"id":"testing-golf-explained-registration-1","instance":0,"updated":"2020-10-02T16:56:31.000Z","registrationCompletion":"UNKNOWN","registrationSuccess":"Unknown","totalSecondsTracked":0.0,"lastAccessDate":"2020-10-02T16:56:31.000Z","createdDate":"2020-10-02T16:56:31.000Z","course":{"id":"testing-golf-explained","version":0,"title":"Golf
|
44
|
+
Explained - Run-time Basic Calls","courseLearningStandard":"SCORM_2004_3RD_EDITION","registrationCount":0,"updated":"2020-10-02T16:56:31.000Z"},"learner":{"id":"testing-golf-explained-learner-1","firstName":"Arnold","lastName":"Palmer"},"globalObjectives":[],"activityDetails":{"id":"golf_sample_default_org","title":"Golf
|
45
45
|
Explained - Run-time Basic Calls","activityProgressKnown":false,"attempts":0,"activityCompletion":"UNKNOWN","previousAttemptCompletion":"Unknown","activitySuccess":"UNKNOWN","attemptedDuringThisAttempt":false,"suspended":false,"active":false,"included":false,"ordinal":0,"selectedChildren":false,"randomizedChildren":false,"children":[{"id":"item_1","title":"Golf
|
46
46
|
Explained","activityProgressKnown":false,"attempts":0,"activityCompletion":"UNKNOWN","previousAttemptCompletion":"Unknown","activitySuccess":"UNKNOWN","timeTracked":"0000:00:00","attemptedDuringThisAttempt":false,"suspended":false,"active":false,"included":false,"ordinal":0,"selectedChildren":false,"randomizedChildren":false,"children":[],"objectives":[{"id":"","primary":true,"firstScoreScaled":0.0,"objectiveCompletion":"Unknown","objectiveSuccess":"UNKNOWN","previousObjectiveSuccess":"Unknown"}],"staticProperties":{"completionThreshold":"","launchData":"","maxTimeAllowed":"","scaledPassingScore":0.0,"scaledPassingScoreUsed":false,"timeLimitAction":""},"runtime":{"completionStatus":"unknown","credit":"credit","entry":"abinitio","exit":"Unknown","learnerPreference":{"audioLevel":1.0,"language":"","deliverySpeed":1.0,"audioCaptioning":0},"mode":"Normal","progressMeasure":"","scoreScaled":"","scoreRaw":"","scoreMin":"","scoreMax":"","totalTime":"0000:00:00","timeTracked":"0000:00:00","successStatus":"Unknown","suspendData":"","learnerComments":[],"lmsComments":[],"runtimeInteractions":[],"runtimeObjectives":[]}}],"objectives":[{"id":"","primary":true,"firstScoreScaled":0.0,"objectiveCompletion":"Unknown","objectiveSuccess":"UNKNOWN","previousObjectiveSuccess":"Unknown"}],"staticProperties":{"completionThreshold":"","launchData":"","maxTimeAllowed":"","scaledPassingScore":0.0,"scaledPassingScoreUsed":false,"timeLimitAction":""}}}]}'
|
47
47
|
http_version:
|
48
|
-
recorded_at:
|
48
|
+
recorded_at: Tue, 10 Nov 2020 22:54:36 GMT
|
49
49
|
recorded_with: VCR 4.0.0
|
@@ -8,7 +8,7 @@ http_interactions:
|
|
8
8
|
string: ''
|
9
9
|
headers:
|
10
10
|
User-Agent:
|
11
|
-
- ScormEngine Ruby Gem 0.8.
|
11
|
+
- ScormEngine Ruby Gem 0.8.2
|
12
12
|
Authorization:
|
13
13
|
- Basic <BASIC_AUTH>
|
14
14
|
response:
|
@@ -23,7 +23,7 @@ http_interactions:
|
|
23
23
|
connection:
|
24
24
|
- close
|
25
25
|
date:
|
26
|
-
-
|
26
|
+
- Tue, 10 Nov 2020 22:54:32 GMT
|
27
27
|
p3p:
|
28
28
|
- CP="NOI"
|
29
29
|
server:
|
@@ -33,17 +33,17 @@ http_interactions:
|
|
33
33
|
x-cache:
|
34
34
|
- Miss from cloudfront
|
35
35
|
via:
|
36
|
-
- 1.1
|
36
|
+
- 1.1 2a3b50173a77fe71ee16466542bd1fdd.cloudfront.net (CloudFront)
|
37
37
|
x-amz-cf-pop:
|
38
38
|
- SLC50-C1
|
39
39
|
x-amz-cf-id:
|
40
|
-
-
|
40
|
+
- lf0tk7iPh7DClZ5PN04j8e5LUVmktO5qtg9816fWwE8O1yuNM013Wg==
|
41
41
|
body:
|
42
42
|
encoding: UTF-8
|
43
|
-
string: '{"registrations":[{"id":"testing-golf-explained-registration-1","instance":0,"updated":"2020-
|
44
|
-
Explained - Run-time Basic Calls","courseLearningStandard":"SCORM_2004_3RD_EDITION","registrationCount":0,"updated":"2020-
|
43
|
+
string: '{"registrations":[{"id":"testing-golf-explained-registration-1","instance":0,"updated":"2020-10-02T16:56:31.000Z","registrationCompletion":"UNKNOWN","registrationSuccess":"Unknown","totalSecondsTracked":0.0,"lastAccessDate":"2020-10-02T16:56:31.000Z","createdDate":"2020-10-02T16:56:31.000Z","course":{"id":"testing-golf-explained","version":0,"title":"Golf
|
44
|
+
Explained - Run-time Basic Calls","courseLearningStandard":"SCORM_2004_3RD_EDITION","registrationCount":0,"updated":"2020-10-02T16:56:31.000Z"},"learner":{"id":"testing-golf-explained-learner-1","firstName":"Arnold","lastName":"Palmer"},"globalObjectives":[],"activityDetails":{"id":"golf_sample_default_org","title":"Golf
|
45
45
|
Explained - Run-time Basic Calls","activityProgressKnown":false,"attempts":0,"activityCompletion":"UNKNOWN","previousAttemptCompletion":"Unknown","activitySuccess":"UNKNOWN","attemptedDuringThisAttempt":false,"suspended":false,"active":false,"included":false,"ordinal":0,"selectedChildren":false,"randomizedChildren":false,"children":[{"id":"item_1","title":"Golf
|
46
46
|
Explained","activityProgressKnown":false,"attempts":0,"activityCompletion":"UNKNOWN","previousAttemptCompletion":"Unknown","activitySuccess":"UNKNOWN","timeTracked":"0000:00:00","attemptedDuringThisAttempt":false,"suspended":false,"active":false,"included":false,"ordinal":0,"selectedChildren":false,"randomizedChildren":false,"children":[],"objectives":[{"id":"","primary":true,"firstScoreScaled":0.0,"objectiveCompletion":"Unknown","objectiveSuccess":"UNKNOWN","previousObjectiveSuccess":"Unknown"}],"staticProperties":{"completionThreshold":"","launchData":"","maxTimeAllowed":"","scaledPassingScore":0.0,"scaledPassingScoreUsed":false,"timeLimitAction":""},"runtime":{"completionStatus":"unknown","credit":"credit","entry":"abinitio","exit":"Unknown","learnerPreference":{"audioLevel":1.0,"language":"","deliverySpeed":1.0,"audioCaptioning":0},"mode":"Normal","progressMeasure":"","scoreScaled":"","scoreRaw":"","scoreMin":"","scoreMax":"","totalTime":"0000:00:00","timeTracked":"0000:00:00","successStatus":"Unknown","suspendData":"","learnerComments":[],"lmsComments":[],"runtimeInteractions":[],"runtimeObjectives":[]}}],"objectives":[{"id":"","primary":true,"firstScoreScaled":0.0,"objectiveCompletion":"Unknown","objectiveSuccess":"UNKNOWN","previousObjectiveSuccess":"Unknown"}],"staticProperties":{"completionThreshold":"","launchData":"","maxTimeAllowed":"","scaledPassingScore":0.0,"scaledPassingScoreUsed":false,"timeLimitAction":""}}}]}'
|
47
47
|
http_version:
|
48
|
-
recorded_at:
|
48
|
+
recorded_at: Tue, 10 Nov 2020 22:54:33 GMT
|
49
49
|
recorded_with: VCR 4.0.0
|
data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Registrations/_get_registrations/is_successful.yml
CHANGED
@@ -8,7 +8,7 @@ http_interactions:
|
|
8
8
|
string: ''
|
9
9
|
headers:
|
10
10
|
User-Agent:
|
11
|
-
- ScormEngine Ruby Gem 0.8.
|
11
|
+
- ScormEngine Ruby Gem 0.8.2
|
12
12
|
Authorization:
|
13
13
|
- Basic <BASIC_AUTH>
|
14
14
|
response:
|
@@ -23,7 +23,7 @@ http_interactions:
|
|
23
23
|
connection:
|
24
24
|
- close
|
25
25
|
date:
|
26
|
-
-
|
26
|
+
- Tue, 10 Nov 2020 22:54:33 GMT
|
27
27
|
p3p:
|
28
28
|
- CP="NOI"
|
29
29
|
server:
|
@@ -33,17 +33,17 @@ http_interactions:
|
|
33
33
|
x-cache:
|
34
34
|
- Miss from cloudfront
|
35
35
|
via:
|
36
|
-
- 1.1
|
36
|
+
- 1.1 27b097f1b9769d8459cc46b29d99a61b.cloudfront.net (CloudFront)
|
37
37
|
x-amz-cf-pop:
|
38
38
|
- SLC50-C1
|
39
39
|
x-amz-cf-id:
|
40
|
-
-
|
40
|
+
- 7q7Wty6XKjRb5upvC2Ag9AKRVyCSFt5qPLKGpevtfROH5Bb-hMzi7w==
|
41
41
|
body:
|
42
42
|
encoding: UTF-8
|
43
|
-
string: '{"registrations":[{"id":"testing-golf-explained-registration-1","instance":0,"updated":"2020-
|
44
|
-
Explained - Run-time Basic Calls","courseLearningStandard":"SCORM_2004_3RD_EDITION","registrationCount":0,"updated":"2020-
|
43
|
+
string: '{"registrations":[{"id":"testing-golf-explained-registration-1","instance":0,"updated":"2020-10-02T16:56:31.000Z","registrationCompletion":"UNKNOWN","registrationSuccess":"Unknown","totalSecondsTracked":0.0,"lastAccessDate":"2020-10-02T16:56:31.000Z","createdDate":"2020-10-02T16:56:31.000Z","course":{"id":"testing-golf-explained","version":0,"title":"Golf
|
44
|
+
Explained - Run-time Basic Calls","courseLearningStandard":"SCORM_2004_3RD_EDITION","registrationCount":0,"updated":"2020-10-02T16:56:31.000Z"},"learner":{"id":"testing-golf-explained-learner-1","firstName":"Arnold","lastName":"Palmer"},"globalObjectives":[],"activityDetails":{"id":"golf_sample_default_org","title":"Golf
|
45
45
|
Explained - Run-time Basic Calls","activityProgressKnown":false,"attempts":0,"activityCompletion":"UNKNOWN","previousAttemptCompletion":"Unknown","activitySuccess":"UNKNOWN","attemptedDuringThisAttempt":false,"suspended":false,"active":false,"included":false,"ordinal":0,"selectedChildren":false,"randomizedChildren":false,"children":[{"id":"item_1","title":"Golf
|
46
46
|
Explained","activityProgressKnown":false,"attempts":0,"activityCompletion":"UNKNOWN","previousAttemptCompletion":"Unknown","activitySuccess":"UNKNOWN","timeTracked":"0000:00:00","attemptedDuringThisAttempt":false,"suspended":false,"active":false,"included":false,"ordinal":0,"selectedChildren":false,"randomizedChildren":false,"children":[],"objectives":[{"id":"","primary":true,"firstScoreScaled":0.0,"objectiveCompletion":"Unknown","objectiveSuccess":"UNKNOWN","previousObjectiveSuccess":"Unknown"}],"staticProperties":{"completionThreshold":"","launchData":"","maxTimeAllowed":"","scaledPassingScore":0.0,"scaledPassingScoreUsed":false,"timeLimitAction":""},"runtime":{"completionStatus":"unknown","credit":"credit","entry":"abinitio","exit":"Unknown","learnerPreference":{"audioLevel":1.0,"language":"","deliverySpeed":1.0,"audioCaptioning":0},"mode":"Normal","progressMeasure":"","scoreScaled":"","scoreRaw":"","scoreMin":"","scoreMax":"","totalTime":"0000:00:00","timeTracked":"0000:00:00","successStatus":"Unknown","suspendData":"","learnerComments":[],"lmsComments":[],"runtimeInteractions":[],"runtimeObjectives":[]}}],"objectives":[{"id":"","primary":true,"firstScoreScaled":0.0,"objectiveCompletion":"Unknown","objectiveSuccess":"UNKNOWN","previousObjectiveSuccess":"Unknown"}],"staticProperties":{"completionThreshold":"","launchData":"","maxTimeAllowed":"","scaledPassingScore":0.0,"scaledPassingScoreUsed":false,"timeLimitAction":""}}}]}'
|
47
47
|
http_version:
|
48
|
-
recorded_at:
|
48
|
+
recorded_at: Tue, 10 Nov 2020 22:54:33 GMT
|
49
49
|
recorded_with: VCR 4.0.0
|
@@ -8,7 +8,7 @@ http_interactions:
|
|
8
8
|
string: ''
|
9
9
|
headers:
|
10
10
|
User-Agent:
|
11
|
-
- ScormEngine Ruby Gem 0.8.
|
11
|
+
- ScormEngine Ruby Gem 0.8.2
|
12
12
|
Authorization:
|
13
13
|
- Basic <BASIC_AUTH>
|
14
14
|
response:
|
@@ -23,7 +23,7 @@ http_interactions:
|
|
23
23
|
connection:
|
24
24
|
- close
|
25
25
|
date:
|
26
|
-
-
|
26
|
+
- Tue, 10 Nov 2020 22:54:30 GMT
|
27
27
|
p3p:
|
28
28
|
- CP="NOI"
|
29
29
|
server:
|
@@ -33,17 +33,17 @@ http_interactions:
|
|
33
33
|
x-cache:
|
34
34
|
- Miss from cloudfront
|
35
35
|
via:
|
36
|
-
- 1.1
|
36
|
+
- 1.1 0a35faf8a81bc2da87034be9b38a5c9a.cloudfront.net (CloudFront)
|
37
37
|
x-amz-cf-pop:
|
38
38
|
- SLC50-C1
|
39
39
|
x-amz-cf-id:
|
40
|
-
-
|
40
|
+
- Q-wE7JZyxBRJPbtLn4iDeC4-kS5fj2unzF4JVBPfez0lVSGwYrocLQ==
|
41
41
|
body:
|
42
42
|
encoding: UTF-8
|
43
|
-
string: '{"registrations":[{"id":"testing-golf-explained-registration-1","instance":0,"updated":"2020-
|
44
|
-
Explained - Run-time Basic Calls","courseLearningStandard":"SCORM_2004_3RD_EDITION","registrationCount":0,"updated":"2020-
|
43
|
+
string: '{"registrations":[{"id":"testing-golf-explained-registration-1","instance":0,"updated":"2020-10-02T16:56:31.000Z","registrationCompletion":"UNKNOWN","registrationSuccess":"Unknown","totalSecondsTracked":0.0,"lastAccessDate":"2020-10-02T16:56:31.000Z","createdDate":"2020-10-02T16:56:31.000Z","course":{"id":"testing-golf-explained","version":0,"title":"Golf
|
44
|
+
Explained - Run-time Basic Calls","courseLearningStandard":"SCORM_2004_3RD_EDITION","registrationCount":0,"updated":"2020-10-02T16:56:31.000Z"},"learner":{"id":"testing-golf-explained-learner-1","firstName":"Arnold","lastName":"Palmer"},"globalObjectives":[],"activityDetails":{"id":"golf_sample_default_org","title":"Golf
|
45
45
|
Explained - Run-time Basic Calls","activityProgressKnown":false,"attempts":0,"activityCompletion":"UNKNOWN","previousAttemptCompletion":"Unknown","activitySuccess":"UNKNOWN","attemptedDuringThisAttempt":false,"suspended":false,"active":false,"included":false,"ordinal":0,"selectedChildren":false,"randomizedChildren":false,"children":[{"id":"item_1","title":"Golf
|
46
46
|
Explained","activityProgressKnown":false,"attempts":0,"activityCompletion":"UNKNOWN","previousAttemptCompletion":"Unknown","activitySuccess":"UNKNOWN","timeTracked":"0000:00:00","attemptedDuringThisAttempt":false,"suspended":false,"active":false,"included":false,"ordinal":0,"selectedChildren":false,"randomizedChildren":false,"children":[],"objectives":[{"id":"","primary":true,"firstScoreScaled":0.0,"objectiveCompletion":"Unknown","objectiveSuccess":"UNKNOWN","previousObjectiveSuccess":"Unknown"}],"staticProperties":{"completionThreshold":"","launchData":"","maxTimeAllowed":"","scaledPassingScore":0.0,"scaledPassingScoreUsed":false,"timeLimitAction":""},"runtime":{"completionStatus":"unknown","credit":"credit","entry":"abinitio","exit":"Unknown","learnerPreference":{"audioLevel":1.0,"language":"","deliverySpeed":1.0,"audioCaptioning":0},"mode":"Normal","progressMeasure":"","scoreScaled":"","scoreRaw":"","scoreMin":"","scoreMax":"","totalTime":"0000:00:00","timeTracked":"0000:00:00","successStatus":"Unknown","suspendData":"","learnerComments":[],"lmsComments":[],"runtimeInteractions":[],"runtimeObjectives":[]}}],"objectives":[{"id":"","primary":true,"firstScoreScaled":0.0,"objectiveCompletion":"Unknown","objectiveSuccess":"UNKNOWN","previousObjectiveSuccess":"Unknown"}],"staticProperties":{"completionThreshold":"","launchData":"","maxTimeAllowed":"","scaledPassingScore":0.0,"scaledPassingScoreUsed":false,"timeLimitAction":""}}}]}'
|
47
47
|
http_version:
|
48
|
-
recorded_at:
|
48
|
+
recorded_at: Tue, 10 Nov 2020 22:54:32 GMT
|
49
49
|
recorded_with: VCR 4.0.0
|
@@ -8,7 +8,7 @@ http_interactions:
|
|
8
8
|
string: '{"courseId":"invalid-bogus","registrationId":"testing-golf-explained-registration-1","learner":{"id":"testing-golf-explained-learner-1","firstName":"Arnold","lastName":"Palmer"},"postBack":{"url":"http://playtronics.com/passback/","authType":"FORM","userName":"werner_brandes","password":"passport","resultsFormat":"ACTIVITY"}}'
|
9
9
|
headers:
|
10
10
|
User-Agent:
|
11
|
-
- ScormEngine Ruby Gem 0.8.
|
11
|
+
- ScormEngine Ruby Gem 0.8.2
|
12
12
|
Authorization:
|
13
13
|
- Basic <BASIC_AUTH>
|
14
14
|
Content-Type:
|
@@ -25,7 +25,7 @@ http_interactions:
|
|
25
25
|
connection:
|
26
26
|
- close
|
27
27
|
date:
|
28
|
-
-
|
28
|
+
- Tue, 10 Nov 2020 22:54:54 GMT
|
29
29
|
p3p:
|
30
30
|
- CP="NOI"
|
31
31
|
server:
|
@@ -35,14 +35,14 @@ http_interactions:
|
|
35
35
|
x-cache:
|
36
36
|
- Error from cloudfront
|
37
37
|
via:
|
38
|
-
- 1.1
|
38
|
+
- 1.1 c28e90c09fe72af9ef5e45a1bf85f0fc.cloudfront.net (CloudFront)
|
39
39
|
x-amz-cf-pop:
|
40
40
|
- SLC50-C1
|
41
41
|
x-amz-cf-id:
|
42
|
-
-
|
42
|
+
- jLViSJ1vA_ANPaRT0Mh-J_PNSUINj_xodwcYA9Qaa1_FL29_DbYTQw==
|
43
43
|
body:
|
44
44
|
encoding: UTF-8
|
45
45
|
string: '{"message":"Course ID ''invalid-bogus'' is invalid"}'
|
46
46
|
http_version:
|
47
|
-
recorded_at:
|
47
|
+
recorded_at: Tue, 10 Nov 2020 22:54:54 GMT
|
48
48
|
recorded_with: VCR 4.0.0
|
@@ -8,7 +8,7 @@ http_interactions:
|
|
8
8
|
string: '{"courseId":"testing-golf-explained","registrationId":"testing-golf-explained-registration-1","learner":{"id":"testing-golf-explained-learner-1","firstName":"Arnold","lastName":"Palmer"},"postBack":{"url":"http://playtronics.com/passback/","authType":"FORM","userName":"werner_brandes","password":"passport","resultsFormat":"ACTIVITY"}}'
|
9
9
|
headers:
|
10
10
|
User-Agent:
|
11
|
-
- ScormEngine Ruby Gem 0.8.
|
11
|
+
- ScormEngine Ruby Gem 0.8.2
|
12
12
|
Authorization:
|
13
13
|
- Basic <BASIC_AUTH>
|
14
14
|
Content-Type:
|
@@ -25,7 +25,7 @@ http_interactions:
|
|
25
25
|
connection:
|
26
26
|
- close
|
27
27
|
date:
|
28
|
-
-
|
28
|
+
- Tue, 10 Nov 2020 22:54:52 GMT
|
29
29
|
p3p:
|
30
30
|
- CP="NOI"
|
31
31
|
server:
|
@@ -35,14 +35,14 @@ http_interactions:
|
|
35
35
|
x-cache:
|
36
36
|
- Error from cloudfront
|
37
37
|
via:
|
38
|
-
- 1.1
|
38
|
+
- 1.1 0a35faf8a81bc2da87034be9b38a5c9a.cloudfront.net (CloudFront)
|
39
39
|
x-amz-cf-pop:
|
40
40
|
- SLC50-C1
|
41
41
|
x-amz-cf-id:
|
42
|
-
-
|
42
|
+
- byVg1BHZGU0oFIzmbF9YnERXR79M_i0t7u4sybP0BNTFj8ugISINoQ==
|
43
43
|
body:
|
44
44
|
encoding: UTF-8
|
45
45
|
string: '{"message":"This RegistrationId is already in use."}'
|
46
46
|
http_version:
|
47
|
-
recorded_at:
|
47
|
+
recorded_at: Tue, 10 Nov 2020 22:54:52 GMT
|
48
48
|
recorded_with: VCR 4.0.0
|
data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Registrations/_post_registration/is_successful.yml
CHANGED
@@ -8,7 +8,7 @@ http_interactions:
|
|
8
8
|
string: ''
|
9
9
|
headers:
|
10
10
|
User-Agent:
|
11
|
-
- ScormEngine Ruby Gem 0.8.
|
11
|
+
- ScormEngine Ruby Gem 0.8.2
|
12
12
|
Authorization:
|
13
13
|
- Basic <BASIC_AUTH>
|
14
14
|
response:
|
@@ -19,7 +19,7 @@ http_interactions:
|
|
19
19
|
connection:
|
20
20
|
- close
|
21
21
|
date:
|
22
|
-
-
|
22
|
+
- Tue, 10 Nov 2020 22:54:52 GMT
|
23
23
|
p3p:
|
24
24
|
- CP="NOI"
|
25
25
|
server:
|
@@ -29,16 +29,16 @@ http_interactions:
|
|
29
29
|
x-cache:
|
30
30
|
- Miss from cloudfront
|
31
31
|
via:
|
32
|
-
- 1.1
|
32
|
+
- 1.1 6499018181503258b63542f68301cbb1.cloudfront.net (CloudFront)
|
33
33
|
x-amz-cf-pop:
|
34
34
|
- SLC50-C1
|
35
35
|
x-amz-cf-id:
|
36
|
-
-
|
36
|
+
- "--kO4UlBIDexaK_CyiRmvqFndCZGBycnZegTYRoxzG_aF29OSsAeGg=="
|
37
37
|
body:
|
38
38
|
encoding: UTF-8
|
39
39
|
string: ''
|
40
40
|
http_version:
|
41
|
-
recorded_at:
|
41
|
+
recorded_at: Tue, 10 Nov 2020 22:54:52 GMT
|
42
42
|
- request:
|
43
43
|
method: post
|
44
44
|
uri: https://<SCORM_ENGINE_HOST>/ScormEngineInterface/api/v1/ScormEngineGemTesting-default/registrations
|
@@ -47,7 +47,7 @@ http_interactions:
|
|
47
47
|
string: '{"courseId":"testing-golf-explained","registrationId":"testing-golf-explained-registration-1","learner":{"id":"testing-golf-explained-learner-1","firstName":"Arnold","lastName":"Palmer"},"postBack":{"url":"http://playtronics.com/passback/","authType":"FORM","userName":"werner_brandes","password":"passport","resultsFormat":"ACTIVITY"}}'
|
48
48
|
headers:
|
49
49
|
User-Agent:
|
50
|
-
- ScormEngine Ruby Gem 0.8.
|
50
|
+
- ScormEngine Ruby Gem 0.8.2
|
51
51
|
Authorization:
|
52
52
|
- Basic <BASIC_AUTH>
|
53
53
|
Content-Type:
|
@@ -60,7 +60,7 @@ http_interactions:
|
|
60
60
|
connection:
|
61
61
|
- close
|
62
62
|
date:
|
63
|
-
-
|
63
|
+
- Tue, 10 Nov 2020 22:54:52 GMT
|
64
64
|
p3p:
|
65
65
|
- CP="NOI"
|
66
66
|
server:
|
@@ -70,14 +70,14 @@ http_interactions:
|
|
70
70
|
x-cache:
|
71
71
|
- Miss from cloudfront
|
72
72
|
via:
|
73
|
-
- 1.1
|
73
|
+
- 1.1 dc1008da8748ae0c60c93323ff766e49.cloudfront.net (CloudFront)
|
74
74
|
x-amz-cf-pop:
|
75
75
|
- SLC50-C1
|
76
76
|
x-amz-cf-id:
|
77
|
-
-
|
77
|
+
- ljO_CHGy1TrR2F0fKAGdKEz_QhPtRYrURrZI5iFDb6YIaYMkc_V9dA==
|
78
78
|
body:
|
79
79
|
encoding: UTF-8
|
80
80
|
string: ''
|
81
81
|
http_version:
|
82
|
-
recorded_at:
|
82
|
+
recorded_at: Tue, 10 Nov 2020 22:54:52 GMT
|
83
83
|
recorded_with: VCR 4.0.0
|