updated Ruby API to match site