Class: Moodle2CC::CanvasCC::Models::CanvasModule

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeCanvasModule

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

#identifierObject

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_itemsObject

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

#titleObject

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_stateObject

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