Class: BibleQL::Book
Instance Attribute Summary collapse
-
#book_id ⇒ Object
Returns the value of attribute book_id.
-
#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/book.rb', line 5 def book_id @book_id end |
#name ⇒ Object
Returns the value of attribute name.
5 6 7 |
# File 'lib/bibleql/resources/book.rb', line 5 def name @name end |
#position ⇒ Object
Returns the value of attribute position.
5 6 7 |
# File 'lib/bibleql/resources/book.rb', line 5 def position @position end |
#testament ⇒ Object
Returns the value of attribute testament.
5 6 7 |
# File 'lib/bibleql/resources/book.rb', line 5 def testament @testament end |