Class: Moodle2CC::Moodle2::Models::Questionnaire

Inherits:
Object
  • Object
show all
Defined in:
lib/moodle2cc/moodle2/models/questionnaire.rb

Defined Under Namespace

Classes: Question

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeQuestionnaire

Returns a new instance of Questionnaire.



7
8
9
# File 'lib/moodle2cc/moodle2/models/questionnaire.rb', line 7

def initialize
  @questions = []
end

Instance Attribute Details

#close_dateObject

Returns the value of attribute close_date.



4
5
6
# File 'lib/moodle2cc/moodle2/models/questionnaire.rb', line 4

def close_date
  @close_date
end

#idObject

Returns the value of attribute id.



4
5
6
# File 'lib/moodle2cc/moodle2/models/questionnaire.rb', line 4

def id
  @id
end

#introObject

Returns the value of attribute intro.



4
5
6
# File 'lib/moodle2cc/moodle2/models/questionnaire.rb', line 4

def intro
  @intro
end

#intro_formatObject

Returns the value of attribute intro_format.



4
5
6
# File 'lib/moodle2cc/moodle2/models/questionnaire.rb', line 4

def intro_format
  @intro_format
end

#module_idObject

Returns the value of attribute module_id.



4
5
6
# File 'lib/moodle2cc/moodle2/models/questionnaire.rb', line 4

def module_id
  @module_id
end

#nameObject

Returns the value of attribute name.



4
5
6
# File 'lib/moodle2cc/moodle2/models/questionnaire.rb', line 4

def name
  @name
end

#open_dateObject

Returns the value of attribute open_date.



4
5
6
# File 'lib/moodle2cc/moodle2/models/questionnaire.rb', line 4

def open_date
  @open_date
end

#questionsObject

Returns the value of attribute questions.



4
5
6
# File 'lib/moodle2cc/moodle2/models/questionnaire.rb', line 4

def questions
  @questions
end

#time_modifiedObject

Returns the value of attribute time_modified.



4
5
6
# File 'lib/moodle2cc/moodle2/models/questionnaire.rb', line 4

def time_modified
  @time_modified
end

#visibleObject

Returns the value of attribute visible.



4
5
6
# File 'lib/moodle2cc/moodle2/models/questionnaire.rb', line 4

def visible
  @visible
end