Sha256: 8f29d73585ff07996798b4fb5ef11090be96224ee6a30b3fe85b704e147a2c9e

Contents?: true

Size: 525 Bytes

Versions: 22

Compression:

Stored size: 525 Bytes

Contents

require 'isbn_link'

# Blind (not pre-checked for hits) link to compare prices
# at AllBookstores.com
# -- because that site seemed good, includes shipping prices, has decent UX, 
# and includes independent bookstores like Powell's and The Strand. 
#
# subclasses IsbnLink
class AllBooksDotCom < IsbnLink
  def initialize(config)    
    super(config)

    @display_text   ||= "Compare online prices"
    @display_name   ||= "AllBookstores.com"
    @link_template  ||= "http://www.allbookstores.com/book/compare/%s"
  end
end

Version data entries

22 entries across 22 versions & 1 rubygems

Version Path
umlaut-3.3.1 app/service_adaptors/all_books_dot_com.rb
umlaut-3.3.0 app/service_adaptors/all_books_dot_com.rb