gmail

https://github.com/gmailgem/gmail

Ruby

A Rubyesque interface to Gmail, with all the tools you'll need.

Gmail::Client::XOAuth#token

Returns the value of attribute token

Source | Google | Stack overflow

Edit

git clone [email protected]:gmailgem/gmail.git

cd gmail

open lib/gmail/client/xoauth.rb

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-Gmail--Client--XOAuth-token-for-pr


# Commit to git

git add lib/gmail/client/xoauth.rbgit commit -m "better docs for Gmail::Client::XOAuth#token"


# Open pull request

gem install hub # on a mac you can `brew install hub`

hub fork

git push <your name> -your-name--update-docs-Gmail--Client--XOAuth-token-for-pr

hub pull-request


# Celebrate!