Module: ScormEngine

Defined in:
lib/scorm_engine/api/endpoints/courses/configuration.rb,
lib/scorm_engine.rb,
lib/scorm_engine/utils.rb,
lib/scorm_engine/client.rb,
lib/scorm_engine/version.rb,
lib/scorm_engine/response.rb,
lib/scorm_engine/models/base.rb,
lib/scorm_engine/api/endpoints.rb,
lib/scorm_engine/configuration.rb,
lib/scorm_engine/models/course.rb,
lib/scorm_engine/models/learner.rb,
lib/scorm_engine/faraday/request.rb,
lib/scorm_engine/models/dispatch.rb,
lib/scorm_engine/api/endpoints/ping.rb,
lib/scorm_engine/faraday/connection.rb,
lib/scorm_engine/models/destination.rb,
lib/scorm_engine/api/endpoints/about.rb,
lib/scorm_engine/models/dispatch_zip.rb,
lib/scorm_engine/models/registration.rb,
lib/scorm_engine/models/course_import.rb,
lib/scorm_engine/api/endpoints/courses.rb,
lib/scorm_engine/api/endpoints/dispatches.rb,
lib/scorm_engine/api/endpoints/destinations.rb,
lib/scorm_engine/api/endpoints/configuration.rb,
lib/scorm_engine/api/endpoints/registrations.rb,
lib/scorm_engine/models/course_configuration.rb,
lib/scorm_engine/models/tenant_configuration.rb,
lib/scorm_engine/api/endpoints/courses/import.rb,
lib/scorm_engine/models/registration_configuration.rb,
lib/scorm_engine/models/dispatch_registration_count.rb,
lib/scorm_engine/models/registration_launch_history.rb,
lib/scorm_engine/api/endpoints/tenants/configuration.rb,
lib/scorm_engine/models/registration_activity_detail.rb,
lib/scorm_engine/models/registration_runtime_interaction.rb,
lib/scorm_engine/api/endpoints/registrations/configuration.rb,
lib/scorm_engine/api/endpoints/registrations/launch_history.rb

Overview

TODO: Consider consolidating this and [Courses|Tenants]::Configuration, but only after we're

sure they are really 99.9% the same in terms of functionality.

Defined Under Namespace

Modules: Api, Faraday, Models, Utils Classes: Client, Configuration, Response

Constant Summary collapse

VERSION =
"0.9.0".freeze

Class Method Summary collapse

Class Method Details

.configurationObject


4
5
6
# File 'lib/scorm_engine/configuration.rb', line 4

def self.configuration
  @configuration ||= Configuration.new
end

.configure {|configuration| ... } ⇒ Object

Yields:


8
9
10
# File 'lib/scorm_engine/configuration.rb', line 8

def self.configure
  yield(configuration)
end