Module: BWAPI::Client::Projects::Query::MentionFind

Included in:
BWAPI::Client::Projects
Defined in:
lib/bwapi/client/projects/query/mentionfind.rb

Overview

mentionfind module for projects/project_id/query/query_id/mentionfind endpoint

Instance Method Summary collapse

Instance Method Details

#mention_find(project_id, query_id, opts = {}) ⇒ Hash

Returns the mention for a specific URL

Parameters:

  • project_id (Integer)

    Id of project

  • query

    id [Integer] Id of the query

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

    options Hash of parameters

Options Hash (opts):

  • URL (string)

    of the mention

Returns:

  • (Hash)

    Returns whether a URL is in a query



14
15
16
# File 'lib/bwapi/client/projects/query/mentionfind.rb', line 14

def mention_find(project_id, query_id, opts = {})
  get "projects/#{project_id}/query/#{query_id}/mentionfind", opts
end