Class: Moodle2CC::CanvasCC::Models::ModuleItem

Inherits:
Object
  • Object
show all
Defined in:
lib/moodle2cc/canvas_cc/models/module_item.rb

Constant Summary collapse

CONTENT_TYPE_WIKI_PAGE =
'WikiPage'
CONTENT_TYPE_ATTACHMENT =
'Attachment'
CONTENT_TYPE_CONTEXT_MODULE_SUB_HEADER =
'ContextModuleSubHeader'
CONTENT_TYPE_DISCUSSION_TOPIC =
'DiscussionTopic'
CONTENT_TYPE_ASSIGNMENT =
'Assignment'
CONTENT_TYPE_CONTEXT_EXTERNAL_TOOL =
'ContextExternalTool'
CONTENT_TYPE_QUIZ =
'Quizzes::Quiz'
CONTENT_TYPE_EXTERNAL_URL =
'ExternalUrl'

Instance Attribute Summary collapse

Instance Attribute Details

#content_typeObject

Returns the value of attribute content_type.



3
4
5
# File 'lib/moodle2cc/canvas_cc/models/module_item.rb', line 3

def content_type
  @content_type
end

#identifierObject

Returns the value of attribute identifier.



3
4
5
# File 'lib/moodle2cc/canvas_cc/models/module_item.rb', line 3

def identifier
  @identifier
end

#identifierrefObject

Returns the value of attribute identifierref.



3
4
5
# File 'lib/moodle2cc/canvas_cc/models/module_item.rb', line 3

def identifierref
  @identifierref
end

#indentObject

Returns the value of attribute indent.



3
4
5
# File 'lib/moodle2cc/canvas_cc/models/module_item.rb', line 3

def indent
  @indent
end

#new_tabObject

Returns the value of attribute new_tab.



3
4
5
# File 'lib/moodle2cc/canvas_cc/models/module_item.rb', line 3

def new_tab
  @new_tab
end

#resourceObject

Returns the value of attribute resource.



3
4
5
# File 'lib/moodle2cc/canvas_cc/models/module_item.rb', line 3

def resource
  @resource
end

#titleObject

Returns the value of attribute title.



3
4
5
# File 'lib/moodle2cc/canvas_cc/models/module_item.rb', line 3

def title
  @title
end

#urlObject

Returns the value of attribute url.



3
4
5
# File 'lib/moodle2cc/canvas_cc/models/module_item.rb', line 3

def url
  @url
end

#workflow_stateObject

Returns the value of attribute workflow_state.



3
4
5
# File 'lib/moodle2cc/canvas_cc/models/module_item.rb', line 3

def workflow_state
  @workflow_state
end