Class: Moodle2CC::CanvasCC::Models::CanvasModule
- Inherits:
-
Object
- Object
- Moodle2CC::CanvasCC::Models::CanvasModule
- Defined in:
- lib/moodle2cc/canvas_cc/models/canvas_module.rb
Instance Attribute Summary collapse
-
#identifier ⇒ Object
Returns the value of attribute identifier.
-
#module_items ⇒ Object
Returns the value of attribute module_items.
-
#title ⇒ Object
Returns the value of attribute title.
-
#workflow_state ⇒ Object
Returns the value of attribute workflow_state.
Instance Method Summary collapse
-
#initialize ⇒ CanvasModule
constructor
A new instance of CanvasModule.
Constructor Details
#initialize ⇒ CanvasModule
Returns a new instance of CanvasModule.
6 7 8 |
# File 'lib/moodle2cc/canvas_cc/models/canvas_module.rb', line 6 def initialize @module_items = [] end |
Instance Attribute Details
#identifier ⇒ Object
Returns the value of attribute identifier.
4 5 6 |
# File 'lib/moodle2cc/canvas_cc/models/canvas_module.rb', line 4 def identifier @identifier end |
#module_items ⇒ Object
Returns the value of attribute module_items.
4 5 6 |
# File 'lib/moodle2cc/canvas_cc/models/canvas_module.rb', line 4 def module_items @module_items end |
#title ⇒ Object
Returns the value of attribute title.
4 5 6 |
# File 'lib/moodle2cc/canvas_cc/models/canvas_module.rb', line 4 def title @title end |
#workflow_state ⇒ Object
Returns the value of attribute workflow_state.
4 5 6 |
# File 'lib/moodle2cc/canvas_cc/models/canvas_module.rb', line 4 def workflow_state @workflow_state end |