<commit_before>module Yahoo
  module SE
    def self.ping(domain)
      Yahoo::SE::Ping.new(domain)
    end
    
    class Ping
      SERVICE_PATH = "#{Yahoo::SE::SERVICE_PATH}/ping"
      
      def initialize(domain)
        @domain = domain
        @options = {}
        @options[:sitemap] = domain
        response
      end
      
      def response
        Yahoo::SE::Request.new(Yahoo::SE::Ping::SERVICE_PATH, @options).response
      end
    end
  end
end<commit_msg>Mild documentation for ping<commit_after>module Yahoo
  module SE
    # Allows you to notify Yahoo! of changes to your site. No appid required
    # 
    # ping = Yahoo::SE.pages("http://rubyskills.com")
    # 
    # ping.response
    # 
    # sitemap: The URL of the page to be submitted, or the URL of a feed containing site data.
    def self.ping(sitemap)
      Yahoo::SE::Ping.new(sitemap)
    end
    
    class Ping
      SERVICE_PATH = "#{Yahoo::SE::SERVICE_PATH}/ping"
      
      def initialize(sitemap)
        @sitemap = sitemap
        @options = {}
        @options[:sitemap] = sitemap
        response
      end
      
      def response
        Yahoo::SE::Request.new(Yahoo::SE::Ping::SERVICE_PATH, @options).response
      end
    end
  end
end
{'fraction_non_alphanumeric': 0.1059013742926435, 'fraction_numerical': 0.0, 'mean_word_length': 2.174358974358974, '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': '1835238', 'n_tokens_mistral': 405, 'n_tokens_neox': 399, 'n_words': 94}