Class: Moodle2CC::Moodle2::Models::Book

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeBook

Returns a new instance of Book.



5
6
7
# File 'lib/moodle2cc/moodle2/models/book.rb', line 5

def initialize
  @chapters = []
end

Instance Attribute Details

#chaptersObject

Returns the value of attribute chapters.



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

def chapters
  @chapters
end

#custom_titlesObject

Returns the value of attribute custom_titles.



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

def custom_titles
  @custom_titles
end

#idObject

Returns the value of attribute id.



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

def id
  @id
end

#introObject

Returns the value of attribute intro.



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

def intro
  @intro
end

#intro_formatObject

Returns the value of attribute intro_format.



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

def module_id
  @module_id
end

#nameObject

Returns the value of attribute name.



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

def name
  @name
end

#numberingObject

Returns the value of attribute numbering.



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

def numbering
  @numbering
end

#visibleObject

Returns the value of attribute visible.



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

def visible
  @visible
end