Class: CanvasCc::CanvasCC::Models::CanvasModule
- Inherits:
-
Object
- Object
- CanvasCc::CanvasCC::Models::CanvasModule
- Defined in:
- lib/canvas_cc/canvas_cc/models/canvas_module.rb
Instance Attribute Summary collapse
-
#completion_requirements ⇒ Object
Returns the value of attribute completion_requirements.
-
#end_at ⇒ Object
Returns the value of attribute end_at.
-
#identifier ⇒ Object
Returns the value of attribute identifier.
-
#module_items ⇒ Object
Returns the value of attribute module_items.
-
#prerequisites ⇒ Object
Returns the value of attribute prerequisites.
-
#require_sequential_progress ⇒ Object
Returns the value of attribute require_sequential_progress.
-
#start_at ⇒ Object
Returns the value of attribute start_at.
-
#title ⇒ Object
Returns the value of attribute title.
-
#unlock_at ⇒ Object
Returns the value of attribute unlock_at.
-
#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.
8 9 10 11 12 |
# File 'lib/canvas_cc/canvas_cc/models/canvas_module.rb', line 8 def initialize @module_items = [] @prerequisites = [] @completion_requirements = [] end |
Instance Attribute Details
#completion_requirements ⇒ Object
Returns the value of attribute completion_requirements.
4 5 6 |
# File 'lib/canvas_cc/canvas_cc/models/canvas_module.rb', line 4 def completion_requirements @completion_requirements end |
#end_at ⇒ Object
Returns the value of attribute end_at.
4 5 6 |
# File 'lib/canvas_cc/canvas_cc/models/canvas_module.rb', line 4 def end_at @end_at end |
#identifier ⇒ Object
Returns the value of attribute identifier.
4 5 6 |
# File 'lib/canvas_cc/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/canvas_cc/canvas_cc/models/canvas_module.rb', line 4 def module_items @module_items end |
#prerequisites ⇒ Object
Returns the value of attribute prerequisites.
4 5 6 |
# File 'lib/canvas_cc/canvas_cc/models/canvas_module.rb', line 4 def prerequisites @prerequisites end |
#require_sequential_progress ⇒ Object
Returns the value of attribute require_sequential_progress.
4 5 6 |
# File 'lib/canvas_cc/canvas_cc/models/canvas_module.rb', line 4 def require_sequential_progress @require_sequential_progress end |
#start_at ⇒ Object
Returns the value of attribute start_at.
4 5 6 |
# File 'lib/canvas_cc/canvas_cc/models/canvas_module.rb', line 4 def start_at @start_at end |
#title ⇒ Object
Returns the value of attribute title.
4 5 6 |
# File 'lib/canvas_cc/canvas_cc/models/canvas_module.rb', line 4 def title @title end |
#unlock_at ⇒ Object
Returns the value of attribute unlock_at.
4 5 6 |
# File 'lib/canvas_cc/canvas_cc/models/canvas_module.rb', line 4 def unlock_at @unlock_at end |
#workflow_state ⇒ Object
Returns the value of attribute workflow_state.
4 5 6 |
# File 'lib/canvas_cc/canvas_cc/models/canvas_module.rb', line 4 def workflow_state @workflow_state end |