首页 文章

如何将多个范围与google api ruby客户端结合起来?

提问于
浏览
3

我正在使用google api ruby client!并希望结合多个范围,例如https://www.googleapis.com/auth/userinfo.emailhttps://www.googleapis.com/auth/plus.me

到目前为止,我似乎只能使用或者使用client.authorization.scope ='https://www.googleapis.com/auth/plus.me'

1 回答

  • 5

    您需要做的就是传递 Array 范围 .

相关问题