microsoftgraph / msgraph-sdk-ruby

Microsoft Graph Ruby client library for v1 APIs
https://graph.microsoft.com
MIT License
99 stars 68 forks source link

undefined method `users_by_id' for #<MicrosoftGraph::GraphServiceClient #212

Open GarrisonD opened 2 weeks ago

GarrisonD commented 2 weeks ago

I installed the SDK with gem "microsoft_graph", "~> 0.22.2" and just ran the snippets from the README.md:

result = client.users_by_id("<user-id>").get.resume
undefined method `users_by_id' for #<MicrosoftGraph::GraphServiceClient
baywet commented 2 weeks ago

Thanks for using the SDK and for reaching out. Have you tried ?

result = client.users.by_user_id("<user-id>").get.resume