lib/searchkick.rb in searchkick-0.7.9 vs lib/searchkick.rb in searchkick-0.8.0
- old
+ new
@@ -23,9 +23,13 @@
def self.client=(client)
@client = client
end
+ def self.server_version
+ @server_version ||= client.info["version"]["number"]
+ end
+
@callbacks = true
def self.enable_callbacks
@callbacks = true
end