Module: BWAPI::Client::TestSearch

Included in:
BWAPI::Client
Defined in:
lib/bwapi/client/test_search.rb

Overview

TestSearch module for testSearch endpoint

Instance Method Summary collapse

Instance Method Details

#test_search_content(opts = {}) ⇒ Hash

Retrieve full text for a given url

Parameters:

  • opts (Hash) (defaults to: {})

    options hash of parameters

Options Hash (opts):

  • url (String)

    the url to test search

Returns:

  • (Hash)

    full text of the url



9
10
11
# File 'lib/bwapi/client/test_search.rb', line 9

def test_search_content(opts = {})
  get 'testsearch/content', opts
end