Created
December 15, 2012 22:58
-
-
Save anonymous/4300140 to your computer and use it in GitHub Desktop.
Revisions
-
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,8 @@ client = OAuth2::Client.new(API_CLIENT, API_SECRET, { :authorize_url => 'https://accounts.google.com/o/oauth2/auth', :token_url => 'https://accounts.google.com/o/oauth2/token', # Set options that get passed on to Faraday :connection_opts => {:proxy => { :uri => 'http://127.0.0.1:8888'} }, :ssl => {:verify => false} })