Class: Moodle2CC::Moodle2::Models::Folder

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeFolder

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_idsObject

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

#idObject

Returns the value of attribute id.



3
4
5
# File 'lib/moodle2cc/moodle2/models/folder.rb', line 3

def id
  @id
end

#introObject

Returns the value of attribute intro.



3
4
5
# File 'lib/moodle2cc/moodle2/models/folder.rb', line 3

def intro
  @intro
end

#intro_formatObject

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_idObject

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

#nameObject

Returns the value of attribute name.



3
4
5
# File 'lib/moodle2cc/moodle2/models/folder.rb', line 3

def name
  @name
end

#revisionObject

Returns the value of attribute revision.



3
4
5
# File 'lib/moodle2cc/moodle2/models/folder.rb', line 3

def revision
  @revision
end

#visibleObject

Returns the value of attribute visible.



3
4
5
# File 'lib/moodle2cc/moodle2/models/folder.rb', line 3

def visible
  @visible
end