Sha256: 7f8578b032a0f17bce568a3a09acb47725a32ae077ae0a7a967c722ebd0a58d4
Contents?: true
Size: 910 Bytes
Versions: 2
Compression:
Stored size: 910 Bytes
Contents
require "elasticsearch/api" require "elasticsearch/xpack/version" Dir[ File.expand_path('../xpack/api/actions/**/*.rb', __FILE__) ].each { |f| require f } Dir[ File.expand_path('../xpack/api/namespace/**/*.rb', __FILE__) ].each { |f| require f } module Elasticsearch module XPack module API def self.included(base) Elasticsearch::XPack::API.constants.reject {|c| c == :Client }.each do |m| base.__send__ :include, Elasticsearch::XPack::API.const_get(m) end end class Client include Elasticsearch::API::Common::Client, Elasticsearch::API::Common::Client::Base include Elasticsearch::XPack::API end end end end module Elasticsearch module Transport class Client def xpack @xpack_client ||= Elasticsearch::XPack::API::Client.new(self) end end end end if defined?(Elasticsearch::Transport::Client)
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
elasticsearch-xpack-5.0.0 | lib/elasticsearch/xpack.rb |
elasticsearch-xpack-0.1.0.pre | lib/elasticsearch/xpack.rb |