Module: LtiPublicResources

Defined in:
lib/lti_public_resources.rb,
lib/lti_public_resources/engine.rb,
lib/lti_public_resources/version.rb,
app/controllers/lti_public_resources/api_controller.rb,
app/controllers/lti_public_resources/test_controller.rb,
lib/lti_public_resources/lti_public_resources_config.rb,
app/controllers/lti_public_resources/ember_controller.rb,
app/controllers/lti_public_resources/application_controller.rb

Defined Under Namespace

Modules: LtiPublicResourcesConfig Classes: ApiController, ApplicationController, EmberController, Engine, TestController

Constant Summary collapse

VERSION =
"0.1.6"

Class Method Summary collapse

Class Method Details

.appsObject



13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
# File 'lib/lti_public_resources.rb', line 13

def self.apps
  {
    youtube: {
      name: "YouTube",
      description: "Search publicly available YouTube videos. A new icon will show up in your course rich editor letting you search YouTube and click to embed videos in your course material.",
      tool_id: "youtube",
      tool_type: "search",
      icon_path: "youtube_icon.png",
      image_url: "youtube_banner.png"
    },
    vimeo: {
      name: "Vimeo",
      description: "Vimeo is a video sharing website on which users can upload, share, and view videos. The community of Vimeo includes indie, professional, and novice filmmakers.",
      tool_id: "vimeo",
      tool_type: "search",
      icon_path: "vimeo_icon.png",
      image_url: "vimeo_banner.png"
    },
    schooltube: {
      name: "SchoolTube",
      description: "SchoolTube is a public, searchable collection of videos uploaded from schools. Videos can be inserted as links or embedded in course material.",
      tool_id: "schooltube",
      tool_type: "search",
      icon_path: "schooltube_icon.png",
      image_url: "schooltube_banner.png"
    },
    khan_academy: {
      name: "Khan Academy",
      description: "Search for and embed Khan Academy lessons and exercise into course material. Khan Academy focuses on short lessons on math, science, etc. Uses the embedded player so students earn points for watching videos.",
      tool_id: "khan_academy",
      tool_type: "browse",
      icon_path: "khan_academy_icon.png",
      image_url: "khan_academy_banner.png"
    },
    quizlet: {
      name: "Quizlet",
      description: "Search for and embed publicly available flashcards and question sets from Quizlet. Questions can be embedded directly into content as flash cards, review, or as a study game.",
      tool_id: "quizlet",
      tool_type: "search",
      icon_path: "quizlet_icon.png",
      image_url: "quizlet_banner.png"
    }
  }
end

.setup {|_self| ... } ⇒ Object

Yields:

  • (_self)

Yield Parameters:



9
10
11
# File 'lib/lti_public_resources.rb', line 9

def self.setup
  yield self
end