Is there any possible way `token` could have not yet been set (asking because I'm not familiar with the APIs)? If so, we might want to initialize it to nil at the top of the method and then tack `unless token.nil?` on the end of this.