Module: Slack::Events::Config

Extended by:
Config
Included in:
Config
Defined in:
lib/slack/events/config.rb

Constant Summary collapse

ATTRIBUTES =
%i[
  signing_secret
  signature_expires_in
].freeze

Instance Method Summary collapse

Instance Method Details

#resetObject


13
14
15
16
# File 'lib/slack/events/config.rb', line 13

def reset
  self.signing_secret = ENV['SLACK_SIGNING_SECRET']
  self.signature_expires_in = 5 * 60
end