ruby wrapper for the product api