This example will help you access AirVantage API from Ruby.