
Security News
ECMAScript 2025 Finalized with Iterator Helpers, Set Methods, RegExp.escape, and More
ECMAScript 2025 introduces Iterator Helpers, Set methods, JSON modules, and more in its latest spec update approved by Ecma in June 2025.
h1. Rustici SCORM Cloud Ruby Client
bc. Let me know if you are interested in taking it over. I developed the code but never actually used it in production. Use with caution.
This ruby gem is provides a ruby interface to the Rustici Scorm Cloud.
h2. Shell CLI Interface
$ gem install 'scorm_cloud' $ scorm_cloud rustici.course.getCourseList --appid myappid --secret mysecret
h2. Standard Ruby Use
bc. require 'scorm_cloud' sc = ScormCloud::ScormCloud.new("my_app_id","my_secret_key") sc.course.get_course_list.each { |c| puts "#{c.id} #{c.title}"}
h2. Ruby on Rails Use
Place the following in: Gemfile
bc. require 'scorm_cloud', :git => 'git@github.com:aeseducation/scorm-cloud.git'
Place the following in: config/initializers/scorm_cloud.rb
bc. # Change MyApplication to the name of your application MyApplication::Application.configure do |config| config.scorm_cloud.appid = "my_app_id" config.scorm_cloud.secretkey = "my_secret_key" end
Place the following in: /app/controllers.course_controller.rb
bc. # app/controllers/course_controller.rb class CourseController < ApplicationController def index @courses = scorm_cloud.course.get_course_list end def launch return_url = course_index_url reg = scorm_cloud.registrations.create_registration(...) redirect_to scorm_cloud.registrations.launch(...) end end
Place the following in: /app/views/course/index.html.erb
bq. # app/views/course/index.html.erb <ul> <%= @courses.each |course| %> <li> <%= link_to course_launch_path(course.title,course.id) %> </li> <% end %> </ul>
FAQs
Unknown package
We found that scorm_cloud demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
ECMAScript 2025 introduces Iterator Helpers, Set methods, JSON modules, and more in its latest spec update approved by Ecma in June 2025.
Security News
A new Node.js homepage button linking to paid support for EOL versions has sparked a heated discussion among contributors and the wider community.
Research
North Korean threat actors linked to the Contagious Interview campaign return with 35 new malicious npm packages using a stealthy multi-stage malware loader.