Class: Moodle2CC::Moodle2::Models::Wiki

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeWiki

Returns a new instance of Wiki.



6
7
8
# File 'lib/moodle2cc/moodle2/models/wiki.rb', line 6

def initialize
  @pages = []
end

Instance Attribute Details

#first_page_titleObject

Returns the value of attribute first_page_title.



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

def first_page_title
  @first_page_title
end

#idObject

Returns the value of attribute id.



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

def id
  @id
end

#introObject

Returns the value of attribute intro.



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

def intro
  @intro
end

#intro_formatObject

Returns the value of attribute intro_format.



4
5
6
# File 'lib/moodle2cc/moodle2/models/wiki.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/wiki.rb', line 4

def module_id
  @module_id
end

#nameObject

Returns the value of attribute name.



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

def name
  @name
end

#pagesObject

Returns the value of attribute pages.



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

def pages
  @pages
end

#visibleObject

Returns the value of attribute visible.



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

def visible
  @visible
end