Module: Moodle2CC::Canvas::Resource

Included in:
Assessment, Assignment, DiscussionTopic, Label, WebContent, WebLink, Wiki
Defined in:
lib/moodle2cc/canvas/resource.rb

Instance Method Summary collapse

Instance Method Details

#create_module_meta_item_elements(item_node) ⇒ Object



13
14
# File 'lib/moodle2cc/canvas/resource.rb', line 13

def create_module_meta_item_elements(item_node)
end

#create_module_meta_item_node(items_node, position) ⇒ Object



3
4
5
6
7
8
9
10
11
# File 'lib/moodle2cc/canvas/resource.rb', line 3

def create_module_meta_item_node(items_node, position)
  items_node.item(:identifier => create_mod_key(@mod)) do |item_node|
    item_node.title @title
    item_node.position position
    item_node.new_tab ''
    item_node.indent @indent
    create_module_meta_item_elements(item_node)
  end
end