From 3adacc0eba0a477638d452993830da356f30facf Mon Sep 17 00:00:00 2001 From: Thomas Koppensteiner Date: Fri, 12 May 2017 22:15:00 +0200 Subject: [PATCH] Fix for 'list_databases' - use empty hash as default. --- lib/orientdb4r/rest/client.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/orientdb4r/rest/client.rb b/lib/orientdb4r/rest/client.rb index 9a2731e..8ef0ff9 100644 --- a/lib/orientdb4r/rest/client.rb +++ b/lib/orientdb4r/rest/client.rb @@ -219,7 +219,7 @@ def delete_database(options) #:nodoc: #> curl --user root:root http://localhost:2480/listDatabases - def list_databases(options=nil) #:nodoc: + def list_databases(options={}) #:nodoc: verify_and_sanitize_options(options, { :user => :optional, :password => :optional }) params = { :method => :get, :uri => 'listDatabases', :no_session => true }