aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'lib/monkeypatch_es.rb')
-rw-r--r--lib/monkeypatch_es.rb9
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/monkeypatch_es.rb b/lib/monkeypatch_es.rb
new file mode 100644
index 0000000..32437df
--- /dev/null
+++ b/lib/monkeypatch_es.rb
@@ -0,0 +1,9 @@
+# Monkeypatch the real-ES check
+module Elasticsearch
+ class Client
+ def verify_with_version_or_header(version, headers)
+ @verified = true
+ end
+ end
+end
+