glitch-soc/mastodon

View on GitHub
lib/elasticsearch/client_extensions.rb

Summary

Maintainability
A
0 mins
Test Coverage
# frozen_string_literal: true

module Elasticsearch
  module ClientExtensions
    def verify_elasticsearch
      @verified = true
    end
  end
end

Elasticsearch::Client.prepend(Elasticsearch::ClientExtensions)