Class: BibleQL::Chapter

Inherits:
Resource show all
Defined in:
lib/bibleql/resources/chapter.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

#numberObject

Returns the value of attribute number.



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

def number
  @number
end

#verse_countObject

Returns the value of attribute verse_count.



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

def verse_count
  @verse_count
end

#versesObject

Returns the value of attribute verses.



7
8
9
# File 'lib/bibleql/resources/chapter.rb', line 7

def verses
  @verses
end