- Add the gem to your Gemfile
gem 'webhook_manager'- In your terminal:
$ bundle install- Initialize your class
api = WebhookManager::Webhook.new('https://app.hooky.me/api/v1/webhook_events/trigger', 'YOUR_API_KEY')- Send your first webhook!
api.trigger!(event_name: "this.is.a.webhook", payload: {hello: "world"})