Class: Moodle2CC::Moodle2::Models::Feedback

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

Defined Under Namespace

Classes: Question

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeFeedback

Returns a new instance of Feedback.



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

def initialize
  @items = []
end

Instance Attribute Details

#idObject

Returns the value of attribute id.



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

def id
  @id
end

#introObject

Returns the value of attribute intro.



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

def intro
  @intro
end

#intro_formatObject

Returns the value of attribute intro_format.



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

def intro_format
  @intro_format
end

#itemsObject

Returns the value of attribute items.



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

def items
  @items
end

#module_idObject

Returns the value of attribute module_id.



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

def module_id
  @module_id
end

#multiple_submitObject

Returns the value of attribute multiple_submit.



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

def multiple_submit
  @multiple_submit
end

#nameObject

Returns the value of attribute name.



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

def name
  @name
end

#time_closeObject

Returns the value of attribute time_close.



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

def time_close
  @time_close
end

#time_modifiedObject

Returns the value of attribute time_modified.



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

def time_modified
  @time_modified
end

#time_openObject

Returns the value of attribute time_open.



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

def time_open
  @time_open
end

#visibleObject

Returns the value of attribute visible.



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

def visible
  @visible
end