lib/libis/services/scope/search.rb in libis-services-1.0.1 vs lib/libis/services/scope/search.rb in libis-services-1.0.2
- old
+ new
@@ -16,13 +16,15 @@
end
def connect(name, password, database = nil)
database ||= 'libis-db-scope.cc.kuleuven.be:1556/SCOPEP.kuleuven.be'
@oracle = OracleClient.new("#{name}/#{password}/#{database}")
+ self
end
def connect_url(url)
@oracle = OracleClient.new(url)
+ self
end
def find(term, options = {})
super
end