module Elasticsearch::API
Constants
- COMMON_PARAMS
- COMMON_QUERY_PARAMS
- DEFAULT_SERIALIZER
- HTTP_DELETE
- HTTP_GET
- HTTP_HEAD
- HTTP_POST
- HTTP_PUT
- UNDERSCORE_ALL
- UNDERSCORE_SEARCH
- VERSION
Public Class Methods
included(base)
click to toggle source
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::Snapshot, Elasticsearch::API::Tasks, Elasticsearch::API::Cat end
serializer()
click to toggle source
The serializer class
# File lib/elasticsearch/api.rb, line 55 def self.serializer settings[:serializer] || DEFAULT_SERIALIZER end
settings()
click to toggle source
Access the module settings
# File lib/elasticsearch/api.rb, line 61 def self.settings @settings ||= {} end