Class: BibleQL::Verse
- Defined in:
- lib/bibleql/resources/verse.rb
Instance Attribute Summary collapse
-
#book_id ⇒ Object
Returns the value of attribute book_id.
-
#book_name ⇒ Object
Returns the value of attribute book_name.
-
#chapter ⇒ Object
Returns the value of attribute chapter.
-
#text ⇒ Object
Returns the value of attribute text.
-
#verse ⇒ Object
Returns the value of attribute verse.
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/verse.rb', line 5 def book_id @book_id end |
#book_name ⇒ Object
Returns the value of attribute book_name.
5 6 7 |
# File 'lib/bibleql/resources/verse.rb', line 5 def book_name @book_name end |
#chapter ⇒ Object
Returns the value of attribute chapter.
5 6 7 |
# File 'lib/bibleql/resources/verse.rb', line 5 def chapter @chapter end |
#text ⇒ Object
Returns the value of attribute text.
5 6 7 |
# File 'lib/bibleql/resources/verse.rb', line 5 def text @text end |
#verse ⇒ Object
Returns the value of attribute verse.
5 6 7 |
# File 'lib/bibleql/resources/verse.rb', line 5 def verse @verse end |