ISBN and ASIN classes in Ruby