Refactor the gem to use onCue's new REST API