module Slack::Incoming::Connection
Public Instance Methods
connection()
click to toggle source
# File lib/slack/incoming/webhooks/connection.rb, line 8 def connection uri = URI.parse(webhook_url) http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = true http.ssl_version = :TLSv1_2 http.verify_mode = OpenSSL::SSL::VERIFY_PEER http end