Class: AbsorbApi::Chapter

Inherits:
Record
  • Object
show all
Defined in:
lib/absorb_api/chapter.rb

Instance Attribute Summary collapse

Method Summary

Methods inherited from Record

all, can_create, can_search, find, #initialize, with_relationships

Constructor Details

This class inherits a constructor from AbsorbApi::Record

Instance Attribute Details

#idObject

Returns the value of attribute id.



5
6
7
# File 'lib/absorb_api/chapter.rb', line 5

def id
  @id
end

#lesson_idsObject

Returns the value of attribute lesson_ids.



5
6
7
# File 'lib/absorb_api/chapter.rb', line 5

def lesson_ids
  @lesson_ids
end

#nameObject

Returns the value of attribute name.



5
6
7
# File 'lib/absorb_api/chapter.rb', line 5

def name
  @name
end