Ok, that's fine by me. I just followed the testflight example and put the method in there, but the way you suggest is cleaner.

It might take a while for me to figure out how to do this correctly as I'm new to Ruby development and I'm still learning the language.