class NYTFiction::Book
Attributes
description[RW]
freshness[RW]
publisher[RW]
title[RW]
url[RW]
Public Class Methods
all()
click to toggle source
# File lib/nyt_fiction/book.rb, line 6 def self.all @@all end
Public Instance Methods
save()
click to toggle source
# File lib/nyt_fiction/book.rb, line 10 def save @@all << self end