With Google API Client, how to create client

前端 未结 3 1459
长发绾君心
长发绾君心 2021-02-19 11:35

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 usin

3条回答
  •  一生所求
    2021-02-19 12:01

    https://gist.github.com/lightman76/2357338dcca65fd390e2 says client should be a Hurley client. It looks like you are passing an OAuth2::Client, which apparently doesn't respond to

    get()
    

    For client and auth, I would recommend trying a Hurley client and a Signet::OAuth2::Client auth.

提交回复
热议问题