Ruby Code to generate reports using the Tyrant API