lib/api-client/dispatcher/net-http.rb in api-client-1.6.1 vs lib/api-client/dispatcher/net-http.rb in api-client-1.7.0

- old
+ new

@@ -58,16 +58,17 @@ protected def self.initialize_connection(url = '') @uri = URI(url) + @uri.path = "/" if @uri.path.blank? @http = Net::HTTP.new(@uri.host, @uri.port) end def self.call begin yield rescue Errno::ECONNREFUSED raise ApiClient::Exceptions::ConnectionRefused end end -end \ No newline at end of file +end