From d577d776a358f5d2d9f5655a51591aed79b4b7c0 Mon Sep 17 00:00:00 2001 From: Ginger Collison Date: Fri, 4 Oct 2019 15:07:15 -0500 Subject: [PATCH] Update nkey.md --- developing-with-nats/intro-2/nkey.md | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/developing-with-nats/intro-2/nkey.md b/developing-with-nats/intro-2/nkey.md index e8345cc..bc7dd8a 100644 --- a/developing-with-nats/intro-2/nkey.md +++ b/developing-with-nats/intro-2/nkey.md @@ -90,24 +90,6 @@ await nc.close() ``` {% endtab %} -{% tab title="Ruby" %} -```ruby -require 'nats/client' - -NATS.start(max_outstanding_pings: 5) do |nc| - nc.on_reconnect do - puts "Got reconnected to #{nc.connected_server}" - end - - nc.on_disconnect do |reason| - puts "Got disconnected! #{reason}" - end - - # Do something with the connection -end -``` -{% endtab %} - {% tab title="TypeScript" %} ```typescript // seed should be stored in a file and treated like a secret