Sha256: 57429a8e0c335e986e1b4631e07e485501fae8d0150c77b7e192287e68289b7c
Contents?: true
Size: 463 Bytes
Versions: 4
Compression:
Stored size: 463 Bytes
Contents
module Datarank class Client # Module containing methods raw search module Search # Return comments based on an elastic search json compliant query # # @param search_object [String] A JSON object compliant with Elastic Search query format # @param slug [String] A topic's unique identifier slug def search(topic_slug, search_object) post "/topics/#{topic_slug}/search", search_object end end end end
Version data entries
4 entries across 4 versions & 2 rubygems
Version | Path |
---|---|
datarank-v2-1.0.0 | lib/datarank/search.rb |
datarank-1.4.0 | lib/datarank/search.rb |
datarank-1.3.0 | lib/datarank/search.rb |
datarank-1.2.0 | lib/datarank/search.rb |