Class: Waylon::Webhooks::Slack

Inherits:
Waylon::Webhook
  • Object
show all
Defined in:
lib/waylon/webhooks/slack.rb

Overview

Webhook for the Slack Sense for Waylon

Instance Method Summary collapse

Instance Method Details

#verify(incoming_request) ⇒ Object

Used to verify incoming Slack requests



32
33
34
35
# File 'lib/waylon/webhooks/slack.rb', line 32

def verify(incoming_request)
  slack_request = ::Slack::Events::Request.new(incoming_request)
  slack_request.verify!
end