Class: BibleQL::LocalizedBook
- Defined in:
- lib/bibleql/resources/localized_book.rb
Instance Attribute Summary collapse
-
#book_id ⇒ Object
Returns the value of attribute book_id.
-
#chapter_count ⇒ Object
Returns the value of attribute chapter_count.
-
#chapters ⇒ Object
Returns the value of attribute chapters.
-
#name ⇒ Object
Returns the value of attribute name.
-
#position ⇒ Object
Returns the value of attribute position.
-
#testament ⇒ Object
Returns the value of attribute testament.
Method Summary
Methods inherited from Resource
#==, #initialize, #to_h, #to_s
Constructor Details
This class inherits a constructor from BibleQL::Resource
Instance Attribute Details
#book_id ⇒ Object
Returns the value of attribute book_id.
5 6 7 |
# File 'lib/bibleql/resources/localized_book.rb', line 5 def book_id @book_id end |
#chapter_count ⇒ Object
Returns the value of attribute chapter_count.
5 6 7 |
# File 'lib/bibleql/resources/localized_book.rb', line 5 def chapter_count @chapter_count end |
#chapters ⇒ Object
Returns the value of attribute chapters.
7 8 9 |
# File 'lib/bibleql/resources/localized_book.rb', line 7 def chapters @chapters end |
#name ⇒ Object
Returns the value of attribute name.
5 6 7 |
# File 'lib/bibleql/resources/localized_book.rb', line 5 def name @name end |
#position ⇒ Object
Returns the value of attribute position.
5 6 7 |
# File 'lib/bibleql/resources/localized_book.rb', line 5 def position @position end |
#testament ⇒ Object
Returns the value of attribute testament.
5 6 7 |
# File 'lib/bibleql/resources/localized_book.rb', line 5 def testament @testament end |