Auto-include all namespaces in the receiver
# File lib/elasticsearch/api.rb, line 41 def self.included(base) base.send :include, Elasticsearch::API::Common, Elasticsearch::API::Actions, Elasticsearch::API::Cluster, Elasticsearch::API::Nodes, Elasticsearch::API::Indices, Elasticsearch::API::Ingest, Elasticsearch::API::Snapshot, Elasticsearch::API::Tasks, Elasticsearch::API::Cat end
The serializer class
# File lib/elasticsearch/api.rb, line 56 def self.serializer settings[:serializer] || DEFAULT_SERIALIZER end
Access the module settings
# File lib/elasticsearch/api.rb, line 62 def self.settings @settings ||= {} end