class Bookcrawler::Book
Attributes
asin[RW]
detail_page_url[RW]
title[RW]
Public Class Methods
new(properties)
click to toggle source
# File lib/bookcrawler/book.rb, line 7 def initialize(properties) properties.each do |key, value| self.send("#{key}=", value) end end
Public Instance Methods
cover_url()
click to toggle source
# File lib/bookcrawler/book.rb, line 13 def cover_url #see http://aaugh.com/imageabuse.html "http://images.amazon.com/images/P/#{asin}.01.ZTZZZZZZ.jpg" end