Class: Moodle2CC::CanvasCC::Models::QuestionGroup

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeQuestionGroup

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_typeObject

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

#identifierObject

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_itemObject

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

#questionsObject

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_numberObject

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

#titleObject

Returns the value of attribute title.



4
5
6
# File 'lib/moodle2cc/canvas_cc/models/question_group.rb', line 4

def title
  @title
end