Refactoring get_events in GoogleAPI.rb