Module: Amazon::Hacks
- Defined in:
- lib/amazon-hacks.rb,
lib/amazon-hacks.rb
Defined Under Namespace
Modules: Countries Classes: Country, Image, Link
Constant Summary collapse
- COUNTRIES =
COUNTRIES is nice generic structure for storing information specific to each country Amazon has a store for (China seems special though, so I have deferred supporting it for now)
{ :ca => Country.new(:ca, "www.amazon.ca", "01", "images.amazon.ca"), # :cn => new Location("www.amazon.cn", ) :de => Country.new(:de, "www.amazon.de", "03", "images.amazon.de"), :fr => Country.new(:fr, "www.amazon.fr", "08", "images.amazon.fr"), :jp => Country.new(:jp, "www.amazon.co.jp", "09", "images.amazon.co.jp"), :uk => Country.new(:uk, "www.amazon.co.uk", "02", "images.amazon.co.uk"), :us => Country.new(:us, "www.amazon.com", "01", "images.amazon.com") }