summaryrefslogtreecommitdiff
path: root/extra/rest_client.rb
diff options
context:
space:
mode:
Diffstat (limited to 'extra/rest_client.rb')
-rw-r--r--extra/rest_client.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/extra/rest_client.rb b/extra/rest_client.rb
index 88daeae..19f2439 100644
--- a/extra/rest_client.rb
+++ b/extra/rest_client.rb
@@ -6,9 +6,9 @@ module Oxidized
PORT = 8888
class << self
- def next node, opt={}, host=HOST, port=PORT
+ def next opt={}, host=HOST, port=PORT
web = new host, port
- web.next node, opt
+ web.next opt
end
end