Class: Moodle2CC::Moodle2::Models::Feedback
- Inherits:
-
Object
- Object
- Moodle2CC::Moodle2::Models::Feedback
- Defined in:
- lib/moodle2cc/moodle2/models/feedback.rb
Defined Under Namespace
Classes: Question
Instance Attribute Summary collapse
-
#id ⇒ Object
Returns the value of attribute id.
-
#intro ⇒ Object
Returns the value of attribute intro.
-
#intro_format ⇒ Object
Returns the value of attribute intro_format.
-
#items ⇒ Object
Returns the value of attribute items.
-
#module_id ⇒ Object
Returns the value of attribute module_id.
-
#multiple_submit ⇒ Object
Returns the value of attribute multiple_submit.
-
#name ⇒ Object
Returns the value of attribute name.
-
#time_close ⇒ Object
Returns the value of attribute time_close.
-
#time_modified ⇒ Object
Returns the value of attribute time_modified.
-
#time_open ⇒ Object
Returns the value of attribute time_open.
-
#visible ⇒ Object
Returns the value of attribute visible.
Instance Method Summary collapse
-
#initialize ⇒ Feedback
constructor
A new instance of Feedback.
Constructor Details
#initialize ⇒ Feedback
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
#id ⇒ Object
Returns the value of attribute id.
4 5 6 |
# File 'lib/moodle2cc/moodle2/models/feedback.rb', line 4 def id @id end |
#intro ⇒ Object
Returns the value of attribute intro.
4 5 6 |
# File 'lib/moodle2cc/moodle2/models/feedback.rb', line 4 def intro @intro end |
#intro_format ⇒ Object
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 |
#items ⇒ Object
Returns the value of attribute items.
4 5 6 |
# File 'lib/moodle2cc/moodle2/models/feedback.rb', line 4 def items @items end |
#module_id ⇒ Object
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_submit ⇒ Object
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 |
#name ⇒ Object
Returns the value of attribute name.
4 5 6 |
# File 'lib/moodle2cc/moodle2/models/feedback.rb', line 4 def name @name end |
#time_close ⇒ Object
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_modified ⇒ Object
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_open ⇒ Object
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 |
#visible ⇒ Object
Returns the value of attribute visible.
4 5 6 |
# File 'lib/moodle2cc/moodle2/models/feedback.rb', line 4 def visible @visible end |