Skip to content
Branch: master
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
Gemfile
README.md Update release documentation Jan 2, 2018
demo-app.rb Deltas sent via webhook are parsed into ruby objects (#174) Dec 28, 2017

README.md

This example application listens for webhook events and logs them directly to the screen, first as the entire JSON blob that is received, then as each Delta, then as the particular data as a hash

Running the Example

  1. Clone the repository
  2. Install the dependencies by using bundle install
  3. Get a Nylas App ID and App Secret from the Nylas Dashboard
  4. Run the app web server: bundle exec ruby demo-app.rb
  5. Use a service like ngrok to expose your local app server to the public internet.
  6. Set up a webhook to point to the public url for your local instance at the path /webhook-event-received by following the instructions for creating a webhook.
  7. Perform some kind of interactions that would trigger the webhook.
You can’t perform that action at this time.