google app - gdata4ruby


I am integrating google app -docs and calender and for that I am
using authsub API and gem gdata .My existing user will sign up with
google account for google service so I need to sent custom variable
like user id with authsub request URL and response is token.Is it
possible to get token along with custom variable(user id)?

Thank you

Here is a tutorial (its sinatra) about getting oauth token from google