Class: Moodle2CC::Moodle2::Models::Folder
- Inherits:
-
Object
- Object
- Moodle2CC::Moodle2::Models::Folder
- Defined in:
- lib/moodle2cc/moodle2/models/folder.rb
Instance Attribute Summary collapse
-
#file_ids ⇒ Object
Returns the value of attribute file_ids.
-
#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.
-
#module_id ⇒ Object
Returns the value of attribute module_id.
-
#name ⇒ Object
Returns the value of attribute name.
-
#revision ⇒ Object
Returns the value of attribute revision.
-
#visible ⇒ Object
Returns the value of attribute visible.
Instance Method Summary collapse
-
#initialize ⇒ Folder
constructor
A new instance of Folder.
Constructor Details
#initialize ⇒ Folder
Returns a new instance of Folder.
5 6 7 |
# File 'lib/moodle2cc/moodle2/models/folder.rb', line 5 def initialize @file_ids = [] end |
Instance Attribute Details
#file_ids ⇒ Object
Returns the value of attribute file_ids.
3 4 5 |
# File 'lib/moodle2cc/moodle2/models/folder.rb', line 3 def file_ids @file_ids end |
#id ⇒ Object
Returns the value of attribute id.
3 4 5 |
# File 'lib/moodle2cc/moodle2/models/folder.rb', line 3 def id @id end |
#intro ⇒ Object
Returns the value of attribute intro.
3 4 5 |
# File 'lib/moodle2cc/moodle2/models/folder.rb', line 3 def intro @intro end |
#intro_format ⇒ Object
Returns the value of attribute intro_format.
3 4 5 |
# File 'lib/moodle2cc/moodle2/models/folder.rb', line 3 def intro_format @intro_format end |
#module_id ⇒ Object
Returns the value of attribute module_id.
3 4 5 |
# File 'lib/moodle2cc/moodle2/models/folder.rb', line 3 def module_id @module_id end |
#name ⇒ Object
Returns the value of attribute name.
3 4 5 |
# File 'lib/moodle2cc/moodle2/models/folder.rb', line 3 def name @name end |
#revision ⇒ Object
Returns the value of attribute revision.
3 4 5 |
# File 'lib/moodle2cc/moodle2/models/folder.rb', line 3 def revision @revision end |
#visible ⇒ Object
Returns the value of attribute visible.
3 4 5 |
# File 'lib/moodle2cc/moodle2/models/folder.rb', line 3 def visible @visible end |