def find_vulns_by_title(title, all_words = true)
      uri    = '/api/2.0/vulnerability_definitions'
      params = { title: title, all_words: all_words }
      resp   = AJAX.get(self, uri, AJAX::CONTENT_TYPE::JSON, params)
      json   = JSON.parse(resp, symbolize_names: true)
      json[:resources].map { |e| VulnerabilityDefinition.new.object_from_hash(self, e) }
    end
def find_vulns_by_title(title, all_words = true)
      uri    = '/api/2.0/vulnerability_definitions'
      params = { title: title, all_words: all_words }
      resp   = AJAX.get(self, uri, AJAX::CONTENT_TYPE::JSON, params)
      json   = JSON.parse(resp, symbolize_names: true)
      json[:resources].map { |e| VulnerabilityDefinition.new.object_from_hash(self, e) }
    end
Search for any vulnerability definitions which refer to a given title.

 Note: This method will return a maximum of 500 results. If the search
 yields a high number of results, consider add more specific words to
 the title.

 @param [String] title A (partial) title to search for.
 @param [Boolean] all_words Whether to include all words from the search
   phrase in the search.
 @return [Array[VulnerabilityDefinition]] A list of vuln definitions with titles matching
   the provided value.