rails gem for PF-API