Sha256: c3b8f94f22fc4b29c29c3eabcf7cfde7d57d3c5774a237156e09ab9a1fffc0c4

Contents?: true

Size: 417 Bytes

Versions: 1

Compression:

Stored size: 417 Bytes

Contents

# encoding: UTF-8

module Esearch
  class Command
    # Search command
    class Search < self
      include Concord.new(:context, :query)

      PRESENTER = Presenter::Search

    private

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

    end # Search
  end # Command
end # Esearch

Version data entries

1 entries across 1 versions & 1 rubygems

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