Sha256: 2328a9cd9950c61d2b0fabd8d43cdd624459d7a6a76ba11d3ae9b560c309e61b

Contents?: true

Size: 264 Bytes

Versions: 8

Compression:

Stored size: 264 Bytes

Contents

module Ej
  class Cluster
    def initialize(values)
      @logger =  values.logger
      @index = values.index
      @client = values.client
    end

    def health
      @client.cluster.health
    end

    def state
      @client.cluster.state
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
ej-0.2.0 lib/ej/cluster.rb
ej-0.1.12 lib/ej/cluster.rb
ej-0.1.11 lib/ej/cluster.rb
ej-0.1.10 lib/ej/cluster.rb
ej-0.1.9 lib/ej/cluster.rb
ej-0.1.8 lib/ej/cluster.rb
ej-0.1.6 lib/ej/cluster.rb
ej-0.1.5 lib/ej/cluster.rb