Class: BestSellingBooks::Books
- Inherits:
-
Object
- Object
- BestSellingBooks::Books
- Defined in:
- lib/best_selling_books/books.rb
Instance Attribute Summary collapse
-
#author ⇒ Object
Returns the value of attribute author.
-
#author_bio ⇒ Object
Returns the value of attribute author_bio.
-
#format ⇒ Object
Returns the value of attribute format.
-
#link ⇒ Object
Returns the value of attribute link.
-
#price ⇒ Object
Returns the value of attribute price.
-
#rank ⇒ Object
Returns the value of attribute rank.
-
#rating ⇒ Object
Returns the value of attribute rating.
-
#title ⇒ Object
Returns the value of attribute title.
Instance Attribute Details
#author ⇒ Object
Returns the value of attribute author.
3 4 5 |
# File 'lib/best_selling_books/books.rb', line 3 def @author end |
#author_bio ⇒ Object
Returns the value of attribute author_bio.
3 4 5 |
# File 'lib/best_selling_books/books.rb', line 3 def @author_bio end |
#format ⇒ Object
Returns the value of attribute format.
3 4 5 |
# File 'lib/best_selling_books/books.rb', line 3 def format @format end |
#link ⇒ Object
Returns the value of attribute link.
3 4 5 |
# File 'lib/best_selling_books/books.rb', line 3 def link @link end |
#price ⇒ Object
Returns the value of attribute price.
3 4 5 |
# File 'lib/best_selling_books/books.rb', line 3 def price @price end |
#rank ⇒ Object
Returns the value of attribute rank.
3 4 5 |
# File 'lib/best_selling_books/books.rb', line 3 def rank @rank end |
#rating ⇒ Object
Returns the value of attribute rating.
3 4 5 |
# File 'lib/best_selling_books/books.rb', line 3 def @rating end |
#title ⇒ Object
Returns the value of attribute title.
3 4 5 |
# File 'lib/best_selling_books/books.rb', line 3 def title @title end |