lib/slack/real_time/concurrency/async.rb in slack-ruby-client-0.14.6 vs lib/slack/real_time/concurrency/async.rb in slack-ruby-client-0.15.0

- old
+ new

@@ -112,12 +112,10 @@ end end def build_endpoint endpoint = ::Async::IO::Endpoint.tcp(addr, port) - if secure? - endpoint = ::Async::IO::SSLEndpoint.new(endpoint, ssl_context: build_ssl_context) - end + endpoint = ::Async::IO::SSLEndpoint.new(endpoint, ssl_context: build_ssl_context) if secure? endpoint end def connect_socket build_endpoint.connect