<commit_before>module FacebookAdsApi
  ##
  # Client: This class contains all the necessary logic to handle the communication to
  # Facebook's Graph API.  Currently the Client class requires you to pass an access
  # token obtained from facebook.  An Oauth authentication solution is not currently
  # implemented.
  class Client
    include Utils

    ##
    # DEFAULTS: Setting a default configuration.  By default facebook graph api will be
    # defaulted to the latest version availble at the team of a version release.  Also SSL
    # will always be used, in fact it is kind of pointless to make in an overridable option
    # because facebook requires you to use https when sending access_tokens.
    #
    # todos: Change ssl_verify_peer back to true and include cacert.pem.
    DEFAULTS = {
      host: "graph.facebook.com",
      api_version: "v2.4",
      port: 443,
      use_ssl: true,
      ssl_verify_peer: false,
      ssl_ca_file: nil,
      timeout: 30,
      proxy_address: nil,
      proxy_user: nil,
      proxy_password: <PASSWORD>,
      retries: 1
    }<commit_msg>Migrating from 2.4 to 2.5<commit_after>module FacebookAdsApi
  ##
  # Client: This class contains all the necessary logic to handle the communication to
  # Facebook's Graph API.  Currently the Client class requires you to pass an access
  # token obtained from facebook.  An Oauth authentication solution is not currently
  # implemented.
  class Client
    include Utils

    ##
    # DEFAULTS: Setting a default configuration.  By default facebook graph api will be
    # defaulted to the latest version availble at the team of a version release.  Also SSL
    # will always be used, in fact it is kind of pointless to make in an overridable option
    # because facebook requires you to use https when sending access_tokens.
    #
    # todos: Change ssl_verify_peer back to true and include cacert.pem.
    DEFAULTS = {
      host: "graph.facebook.com",
      api_version: "v2.5",
      port: 443,
      use_ssl: true,
      ssl_verify_peer: false,
      ssl_ca_file: nil,
      timeout: 30,
      proxy_address: nil,
      proxy_user: nil,
      proxy_password: <PASSWORD>,
      retries: 1
    }
{'fraction_non_alphanumeric': 0.058394160583941604, 'fraction_numerical': 0.009124087591240875, 'mean_word_length': 2.895204262877442, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '902050', 'n_tokens_mistral': 637, 'n_tokens_neox': 607, 'n_words': 264}