# $Id: babyregistry.rb,v 1.11 2004/03/10 09:48:39 ianmacd Exp $ require 'amazon' module Amazon # Load this module with: # # require 'amazon/babyregistry' # # This module provides access to Amazon Baby Registry functionality. module BabyRegistry # Returns an HTML form for adding an item to a baby registry. # def add_item_form(associate, dev_id, asin, locale='us') associate ||= DEFAULT_ID[locale] locale.downcase! site = SITE[locale] <<"EOF"
EOF end module_function :add_item_form end end