WARNING : You probably don't want this code. Its archived and ancient and probably doesn't work. Try the official AWS Ruby SDK instead.
API for Internet Archive's Search-related services
API for Internet Archive's Wayback Machine