Method for calling /connect/detect-provider
Closed this issue · 1 comments
DevStarks commented
Is your feature request related to a problem? Please describe.
It would be very helpful if this SDK implemented a method to post to the /connect/detect-provider
endpoint:
https://developer.nylas.com/docs/api/v2/#post/connect/detect-provider
Describe the solution you'd like
nylas_api =
Nylas::API.new(app_id:, app_secret:, access_token:)
nylas_api.detect_provider #=> <provider response>
Describe alternatives you've considered
I've tried to access the http client directly via nylas_api.post and nylas_api.execute but I get a Nylas::InvalidRequest
error from both.
mrashed-dev commented
Thanks for opening the issue @DevStarks, this missing endpoint should be part of our Ruby SDK offering. We will look to add this in a future update, thanks for identifying this!