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