<commit_before>class CARTO::SGMAP::API
  def initialize
  end

  def self.search_qp(geojson)
    url = [API_CARTO_URL, "quartiers-prioritaires", "search"].join("/")
    call(url, { geojson: geojson.to_s })
  end

  def self.search_cadastre(geojson)
    url = [API_CARTO_URL, "cadastre", "geometrie"].join("/")
    call(url, { geojson: geojson.to_s })
  end

  private

  def self.call(url, params = {})
    verify_ssl_mode = OpenSSL::SSL::VERIFY_NONE

    RestClient::Resource.new(<commit_msg>Remove a useless default in CARTO::SGMAP::API.call<commit_after>class CARTO::SGMAP::API
  def initialize
  end

  def self.search_qp(geojson)
    url = [API_CARTO_URL, "quartiers-prioritaires", "search"].join("/")
    call(url, { geojson: geojson.to_s })
  end

  def self.search_cadastre(geojson)
    url = [API_CARTO_URL, "cadastre", "geometrie"].join("/")
    call(url, { geojson: geojson.to_s })
  end

  private

  def self.call(url, params)
    verify_ssl_mode = OpenSSL::SSL::VERIFY_NONE

    RestClient::Resource.new(
{'fraction_non_alphanumeric': 0.14734774066797643, 'fraction_numerical': 0.0, 'mean_word_length': 4.1725888324873095, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '783444', 'n_tokens_mistral': 408, 'n_tokens_neox': 381, 'n_words': 68}