Class: Senkyoshi::ExternalUrl

Inherits:
Content show all
Defined in:
lib/senkyoshi/models/external_url.rb

Constant Summary

Constants inherited from Content

Content::CONTENT_TYPES, Content::MODULE_TYPES

Instance Attribute Summary

Attributes inherited from Content

#body, #extendeddata, #files, #title, #url

Attributes inherited from FileResource

#id

Instance Method Summary collapse

Methods inherited from Content

#create_module, from, #iterate_xml, #set_module

Methods inherited from FileResource

#create_module, from, #initialize, #iterate_xml

Methods inherited from Resource

#_find_directories, #_fix_path, #_matches_directory_xid?, #_search_and_replace, #cleanup, #fix_html, get_pre_data, #matches_xid?, #strip_xid

Constructor Details

This class inherits a constructor from Senkyoshi::FileResource

Instance Method Details

#canvas_conversion(course, _resource) ⇒ Object



20
21
22
# File 'lib/senkyoshi/models/external_url.rb', line 20

def canvas_conversion(course, _resource)
  create_module(course)
end