Method: JayAPI::Elasticsearch::Stats::Indices#initialize

Defined in:
lib/jay_api/elasticsearch/stats/indices.rb

#initialize(indices) ⇒ Indices

Returns a new instance of Indices.

Parameters:

  • indices (Hash{String=>Hash})

    A Hash with the information about the indices. Its keys are the names of the indices, its values hashes with information about each of the indices.



18
19
20
# File 'lib/jay_api/elasticsearch/stats/indices.rb', line 18

def initialize(indices)
  @indices = indices
end