<commit_before>module Net
  USER_AGENT = "Net - https://bitbucket.org/hipbyte/flow"

  def self.session(base_url, &block)
    Session.build(base_url, &block)
  end

  class << self
    [:get, :post, :put, :delete, :patch, :options, :head].each do |http_medhod|
      define_method(http_medhod) do |base_url, *options, &callback|
        Request.send(http_medhod, base_url, options.shift || {}, &callback)
      end
    end
  end
end<commit_msg>Move method in class methods<commit_after>module Net
  USER_AGENT = "Net - https://bitbucket.org/hipbyte/flow"

  class << self
    def session(base_url, &block)
      Session.build(base_url, &block)
    end

    [:get, :post, :put, :delete, :patch, :options, :head].each do |http_medhod|
      define_method(http_medhod) do |base_url, *options, &callback|
        Request.send(http_medhod, base_url, options.shift || {}, &callback)
      end
    end
  end
end
{'fraction_non_alphanumeric': 0.13827433628318583, 'fraction_numerical': 0.0, 'mean_word_length': 3.5707070707070705, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 3, 'https://': 2, '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': '2525437', 'n_tokens_mistral': 327, 'n_tokens_neox': 318, 'n_words': 73}