Sha256: 24211806101fe1208f89b447725fc068892669db7aa4832dfa37b7e220431efa

Contents?: true

Size: 421 Bytes

Versions: 1

Compression:

Stored size: 421 Bytes

Contents

# encoding: UTF-8

module Esearch
  class Command

    # Command to return cluster status
    class Status < self
      include Concord.new(:context)

      PRESENTER = Presenter::Status

    private

      # Return request
      #
      # @return [Request]
      #
      # @api private
      #
      def request
        Request.get(context_path.join('_status'))
      end

    end # Status
  end # Command
end # Esearch

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
esearch-0.2.2 lib/esearch/command/status.rb