Class: BibleQL::Verse

Inherits:
Resource show all
Defined in:
lib/bibleql/resources/verse.rb

Instance Attribute Summary collapse

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_idObject

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_nameObject

Returns the value of attribute book_name.



5
6
7
# File 'lib/bibleql/resources/verse.rb', line 5

def book_name
  @book_name
end

#chapterObject

Returns the value of attribute chapter.



5
6
7
# File 'lib/bibleql/resources/verse.rb', line 5

def chapter
  @chapter
end

#textObject

Returns the value of attribute text.



5
6
7
# File 'lib/bibleql/resources/verse.rb', line 5

def text
  @text
end

#verseObject

Returns the value of attribute verse.



5
6
7
# File 'lib/bibleql/resources/verse.rb', line 5

def verse
  @verse
end