functions/slack/app.rb
# This is a method of the KGSearch class.
# It determines whether the given request's signature is valid.
This is a method of the KGSearch class.
It determines whether the given request's signature is valid.
This is a method of the KGSearch class . It determines whether the given request ' s signature is valid .
def signature_valid? request
    request = RequestWithHeaders.new request
    slack_request = Slack::Events::Request.new request,
                                               signing_secret: @signing_secret
    slack_request.valid?
  end
def signature_valid? request request = RequestWithHeaders . new request slack_request = Slack :: Events :: Request . new request , signing_secret : @signing_secret slack_request . valid? end
This is a method of the KGSearch class.
This is a method of the KGSearch class .
# Wrap the request with our class that provides the "headers" method. # Validate the request signature.
request
<not_specific>