Getting the prompt request key
To save a prompt rating, you need to know the prompt request key. This key is returned when you call thePrompts#get method:
Saving prompt ratings
To save a prompt rating, call thesave method on the Ratings object: