Class: BestSellingBooks::Books

Inherits:
Object
  • Object
show all
Defined in:
lib/best_selling_books/books.rb

Instance Attribute Summary collapse

Instance Attribute Details

#authorObject

Returns the value of attribute author.



3
4
5
# File 'lib/best_selling_books/books.rb', line 3

def author
  @author
end

#author_bioObject

Returns the value of attribute author_bio.



3
4
5
# File 'lib/best_selling_books/books.rb', line 3

def author_bio
  @author_bio
end

#formatObject

Returns the value of attribute format.



3
4
5
# File 'lib/best_selling_books/books.rb', line 3

def format
  @format
end

Returns the value of attribute link.



3
4
5
# File 'lib/best_selling_books/books.rb', line 3

def link
  @link
end

#priceObject

Returns the value of attribute price.



3
4
5
# File 'lib/best_selling_books/books.rb', line 3

def price
  @price
end

#rankObject

Returns the value of attribute rank.



3
4
5
# File 'lib/best_selling_books/books.rb', line 3

def rank
  @rank
end

#ratingObject

Returns the value of attribute rating.



3
4
5
# File 'lib/best_selling_books/books.rb', line 3

def rating
  @rating
end

#titleObject

Returns the value of attribute title.



3
4
5
# File 'lib/best_selling_books/books.rb', line 3

def title
  @title
end