Skip to content

Commit

Permalink
Merge branch 'splice_embed' of https://github.com/OpenDSA/OpenDSA-LTI
Browse files Browse the repository at this point in the history
…into splice_embed
  • Loading branch information
babz007 committed Mar 1, 2024
2 parents 1e76ea5 + 3d6fdef commit b9ae6dd
Showing 1 changed file with 13 additions and 12 deletions.
25 changes: 13 additions & 12 deletions app/controllers/export_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -33,18 +33,19 @@ def index
end

{
"Platform_name": "OpenDSA",
"URL": exercise.embed_url(host_url),
"LTI_Instructions_URL": "https://opendsa-server.cs.vt.edu/guides/lti-instructions",
"Exercise_type": exercise.ex_type,
"License": "Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International (CC BY-NC-SA 4.0)",
"Description": exercise.description,
"Author": "Shaffer",
"Institution": "Virginia Tech",
"Keywords": keywords,
"Exercise_Name": exercise.name,
"Iframe_URL": exercise.embed_url(host_url),
"LTI_URL": "#{host_url}/lti/launch?custom_ex_short_name=#{exercise.short_name}"
"catalog_type": "SLCItemCatalog",
"platform_name": "OpenDSA",
"url": exercise.embed_url(host_url),
"lti_instructions_url": "https://opendsa-server.cs.vt.edu/guides/opendsa-canvas",
"exercise_type": exercise.ex_type,
"license": "Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International (CC BY-NC-SA 4.0)",
"description": exercise.description,
"author": "Cliff Shaffer",
"institution": "Virginia Tech",
"keywords": keywords,
"exercise_name": exercise.name,
"iframe_url": exercise.embed_url(host_url),
"lti_url": "#{host_url}/lti/launch?custom_ex_short_name=#{exercise.short_name}"
}
end.compact

Expand Down

0 comments on commit b9ae6dd

Please sign in to comment.