Class: Waylon::Webhooks::Slack
- Inherits:
-
Waylon::Webhook
- Object
- Waylon::Webhook
- Waylon::Webhooks::Slack
- Defined in:
- lib/waylon/webhooks/slack.rb
Overview
Webhook for the Slack Sense for Waylon
Instance Method Summary collapse
-
#verify(incoming_request) ⇒ Object
Used to verify incoming Slack requests.
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 |