This sample will show you to read webhooks using the Nylas Ruby SDK.
You need a web server capable of running Ruby code. Koyeb is a great option.
Handled by the web server.
You'll need to create the following environment values:
V3_TOKEN
BASE_URL
GRANT_ID
CALENDAR_ID
CLIENT_SECRET
Everything is on the Gemfile file, but here they are:
nylas / 6.0.0.beta.1
sinatra / 3.1.0
sinatra-contrib / 3.1.0
rack / 2.2.8
puma / 6.3.1Clone this repo and use it as the source for your web server compilation
Run the generated web page.
If successful, you will start to see all your incoming webhooks