Class: Moodle2CC::CanvasCC::Models::ModuleItem
- Inherits:
-
Object
- Object
- Moodle2CC::CanvasCC::Models::ModuleItem
- 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
-
#content_type ⇒ Object
Returns the value of attribute content_type.
-
#identifier ⇒ Object
Returns the value of attribute identifier.
-
#identifierref ⇒ Object
Returns the value of attribute identifierref.
-
#indent ⇒ Object
Returns the value of attribute indent.
-
#new_tab ⇒ Object
Returns the value of attribute new_tab.
-
#resource ⇒ Object
Returns the value of attribute resource.
-
#title ⇒ Object
Returns the value of attribute title.
-
#url ⇒ Object
Returns the value of attribute url.
-
#workflow_state ⇒ Object
Returns the value of attribute workflow_state.
Instance Attribute Details
#content_type ⇒ Object
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 |
#identifier ⇒ Object
Returns the value of attribute identifier.
3 4 5 |
# File 'lib/moodle2cc/canvas_cc/models/module_item.rb', line 3 def identifier @identifier end |
#identifierref ⇒ Object
Returns the value of attribute identifierref.
3 4 5 |
# File 'lib/moodle2cc/canvas_cc/models/module_item.rb', line 3 def identifierref @identifierref end |
#indent ⇒ Object
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_tab ⇒ Object
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 |
#resource ⇒ Object
Returns the value of attribute resource.
3 4 5 |
# File 'lib/moodle2cc/canvas_cc/models/module_item.rb', line 3 def resource @resource end |
#title ⇒ Object
Returns the value of attribute title.
3 4 5 |
# File 'lib/moodle2cc/canvas_cc/models/module_item.rb', line 3 def title @title end |
#url ⇒ Object
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_state ⇒ Object
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 |