Class: BibleQL::Book

Inherits:
Resource show all
Defined in:
lib/bibleql/resources/book.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/book.rb', line 5

def book_id
  @book_id
end

#nameObject

Returns the value of attribute name.



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

def name
  @name
end

#positionObject

Returns the value of attribute position.



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

def position
  @position
end

#testamentObject

Returns the value of attribute testament.



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

def testament
  @testament
end