Module: CommonCartridge::Elements::Resources

Defined in:
lib/common_cartridge/elements/resources.rb,
lib/common_cartridge/elements/resources/page.rb,
lib/common_cartridge/elements/resources/topic.rb,
lib/common_cartridge/elements/resources/web_link.rb,
lib/common_cartridge/elements/resources/assessment.rb,
lib/common_cartridge/elements/resources/assignment.rb,
lib/common_cartridge/elements/resources/attachments.rb,
lib/common_cartridge/elements/resources/basic_lti_link.rb

Defined Under Namespace

Modules: Attachments, BasicLtiLink Classes: Assessment, Assignment, Content, Dependency, File, Format, InstructorText, Page, Resource, RootResource, SubmissionFormats, Text, Topic, WebLink

Class Method Summary collapse

Class Method Details

.type_mappingsObject



13
14
15
16
17
18
19
20
21
22
# File 'lib/common_cartridge/elements/resources.rb', line 13

def self.type_mappings
  {
   Topic.pattern => Topic,
   WebLink.pattern =>  WebLink,
   Assignment.pattern => Assignment,
   Assessment.pattern => Assessment,
   Page.pattern => Page,
   BasicLtiLink::BasicLtiLink.pattern => BasicLtiLink::BasicLtiLink
  }
end