<commit_before>module LinkShrink
  module Config
    extend self

    attr_accessor :api_key

    def api=(api)
      @api = api.new
    end

    def api
      @api || LinkShrink::Shrinkers::Google.new
    end
  end
end<commit_msg>Add documentation for Config module<commit_after>module LinkShrink
  module Config
    # @author <NAME> <<EMAIL>>
    # Configurable module for integrating with other URL APIs
    extend self

    attr_accessor :api_key


    def api=(api)
      @api = api.new
    end

    def api
      @api || LinkShrink::Shrinkers::Google.new
    end
  end
end
{'fraction_non_alphanumeric': 0.07785467128027682, 'fraction_numerical': 0.0, 'mean_word_length': 2.641509433962264, 'pattern_counts': {'":': 0, '<': 6, '<?xml version=': 0, '>': 6, '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': '1846839', 'n_tokens_mistral': 196, 'n_tokens_neox': 186, 'n_words': 54}