With Google API Client, how to create client
问题 I'm working to use the Google API Client: https://github.com/google/google-api-ruby-client Specifically, I want to access Google Contacts via the Google API client using the following google_contacts_api.rb : https://gist.github.com/lightman76/2357338dcca65fd390e2 I am trying to use google_contacts_api.rb like so (x is intentional and is actually the correct keys): require './lib/google_contacts_api.rb' auth = User.first.authentications.first client = OAuth2::Client.new('x', 'x', :site =>